Content:: ColorSpace:: ColorUtils
This module includes utility functions that are useful for all color classes.
Public Class Methods
Normalizes the given color value so that it is in the range from 0.0 to 1.0.
The conversion is done in the following way:
If the color value is an Integer, it is converted to a float and divided by
If the color value is greater than 1.0, it is set to 1.0.
If the color value is less than 0.0, it is set to 0.0.
Public Instance Methods
Compares this color to another one by looking at their associated color spaces and their components.