ixfx
    Preparing search index...

    Function toHsl

    • Parses colour to { h, s, l }, each field being on 0..1 scale.

      Note that some colours will return NaN for h,s or l. This is because they have indeterminate hue. For example white, black and transparent. By default hue of 0 is used in these cases.

      Parameters

      Returns HslRelative