diff --git a/AppKit/CPColor.j b/AppKit/CPColor.j index 0052438af..16ef6411f 100644 --- a/AppKit/CPColor.j +++ b/AppKit/CPColor.j @@ -603,6 +603,9 @@ var cachedBlackColor, /*! Returns an array with the HSB values for this color. + + The values are expressed as fractions between 0.0-1.0. + The index values are ordered as:
Index Component
@@ -649,9 +652,9 @@ var cachedBlackColor,
}
return [
- ROUND(hue * 360.0),
- ROUND(saturation * 100.0),
- ROUND(brightness * 100.0)
+ hue,
+ saturation,
+ brightness
];
}