@kurkle/color - v0.0.0-development
    Preparing search index...

    Function rgb2oklch

    • Convert rgb to oklch

      Parameters

      • color: RGBA

        the color

      Returns number[]

      • [L, C, H] where L is [0..1], C >= 0 and H is in degrees [0..360]