Skip to content

A port of HSLuv, a human friendly alternative to HSL.

Notifications You must be signed in to change notification settings

isthisnagee/hsluv-nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A port of HSLuv, a human friendly alternative to HSL.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages