selenite

Version, currently 0.0.22 versions

github.com/ndudnicz/selenite

Color representation convertion methods (rgb, hsv, ....)

3 stars
0 dependents
License: GPL-3.0

Installation

# Add this to your shard.yml
dependencies:
  selenite:
    github: ndudnicz/selenite
    version: ~> 0.0.2

Then run:

shards install

shard.yml

Crystal
0.27.2
License
GPL-3.0
Author
Nicolas Dudniczenko

Dependencies

Development Dependencies

README

Color representation convertion methods (rgb, hsv, hsl, ...)

Requirement :

  • crystal >= 0.27.2

Installation :

Add this to your application's shard.yml:

dependencies:
  selenite:
    github: ndudnicz/selenite

Example :

require "selenite"

Selenite.hsv_to_rgb({207.4508558724444,82.53478345665128,86.86027994130876})
# => {39.0 ,138.0 ,221.0}

API :

Take a look at the docs