Skip to content

LaMavia/hsl-ish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HSL-ish

A dead simple, accurate enough (see the tests) implementation of the HSL color space in rust.

Motivation

I couldn't find the right implementation of the color space for one of my visualization project (none of the known to me implementations at the time implemented implemented the HSL-RGB conversion), so I decided to create my own, tiny and dead simple implementation.

Caveats

The HSL-RGB conversion (Rgb::from(hsl: Hsl)) currently appears to give results that are one-off from the expected ones under certain conditions (see: issue).

Contributing

Any contributions, be it bug fixes or new features, are greatly appreciated 😁.

Credits

The original implementation of the algorithm used to convert between the spaces was written by the author of the mjijackson blog in javascript. (A repost of the original blog post).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages