hsluv
A port of HSLuv, a human friendly alternative to HSL.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install hsluv
choosenim install hsluv
git clone https://github.com/isthisnagee/hsluv-nim
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| hsluv | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/isthisnagee/hsluv-nim |
|---|---|
| Homepage | https://github.com/isthisnagee/hsluv-nim |
| Registry Source | nimble_official |
README
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.