A port of HSLuv, a human friendly alternative to HSL.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
isthisnagee 1c2533adfc Slight test refactor 1 month ago
src Add implementation of HSLuv 1 month ago
tests Slight test refactor 1 month ago
.gitignore Add implementation of HSLuv 1 month ago
README.md Add README 1 month ago
hsluv.nimble Add implementation of HSLuv 1 month ago

README.md

A Nim implementation of HSLuv (revision 4).

See https://www.hsluv.org for more information about HSLuv

API

hsluvToRgb([H, S, L]) -> [R, G, B]
hpluvToRgb([H, S, L]) -> [R, G, B]
rgbToHsluv([R, G, B]) -> [H, S, L]
rgbToHpluv([R, G, B]) -> [H, S, L]

Testing

Run nimble test.