isInGamut

fun isInGamut(): Boolean

Check whether this color is within the sRGB gamut. This will return false if any component is either NaN or is not within the 0-1 range.

Return

true if color is in gamut, false otherwise