diff --git a/src/Avalonia.Base/Media/Color.cs b/src/Avalonia.Base/Media/Color.cs
index db18ec7c6e..cb90404f6d 100644
--- a/src/Avalonia.Base/Media/Color.cs
+++ b/src/Avalonia.Base/Media/Color.cs
@@ -653,9 +653,6 @@ namespace Avalonia.Media
(byteToDouble * alpha));
}
- // TODO: Mark the below .ToHsv(double...) method internal and make internals visible to Avalonia.Controls
- // It is needed for the ColorPicker which works in normalized values directly
-
///
/// Converts the given RGBA color component values to their HSV color equivalent.
///
@@ -668,7 +665,7 @@ namespace Avalonia.Media
/// The Blue component in the RGB color model within the range 0..1.
/// The Alpha component in the RGB color model within the range 0..1.
/// A new equivalent to the given RGBA values.
- public static HsvColor ToHsv(
+ internal static HsvColor ToHsv(
double r,
double g,
double b,