Skip to content

Working with extracted HSL values #133

Description

@nachtfunke

Hello!

This may seem like a really stupid question, but I am only interested in the extracted hue value. But I am not sure how I am supposed to correctly work with the returned value? I am trying to extract the hue value and feed it to a css custom property, which uses it in a hsl() function, which requires the hue to be in degrees, but the value that is being returned is a number from 0 - 1.

What is the intended way to work with hsl? Is the idea to convert this number to a valid HSL value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions