Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 291 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 291 Bytes

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.