Olian04 / Pelle

MIT License
1 stars 0 forks source link

"hsla(x,y,z,1)" results in a different contrast color compared to "hsl(x,y,z)" #3

Open Olian04 opened 2 years ago

Olian04 commented 2 years ago

hsl(x,y,z)

https://github.com/Olian04/Pelle/blob/bc56b9511f83887dbac73d50a1c15c94f745b842/tests/unit/generateColorSwatch.test.ts#L60-L71

hsla(x,y,z,1)

https://github.com/Olian04/Pelle/blob/bc56b9511f83887dbac73d50a1c15c94f745b842/tests/unit/generateColorSwatch.test.ts#L73-L84