Returns the luminance value for this Hatch entity.
Returns a value in the range. [0.0 .. 1.0].
If the gradient is using oneColorMode, this function returns the luminance value applied to the first color.