hsluv
A port of HSLuv, a human friendly alternative to HSL.
Summary
| Latest Version | 1.0.0 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-09-01 07:17 |
Tags
Authors
- isthisnagee
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 | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 1.2.0 | No |
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.