Skip to content

Wrong output for hsl  #6

@InfogrexTechnologies

Description

@InfogrexTechnologies

When we try to convert a color given by the colorgram.extract from RGB to HSL, the conversion is wrong. I tried multiple times and checked from different sources. i found that the conversion is wrong.
x = Rgb(r=53, g=57, b=64)
x.hsl = Hsl(h=154, s=23, l=58)
But the actual value is as per
218, 9.4% , 22.9%
You can check @ https://www.rapidtables.com/convert/color/rgb-to-hsl.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions