Skip to content

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

License

Notifications You must be signed in to change notification settings

ndudnicz/selenite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Requirement :

  • crystal >= 1.13.1

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

Spec :

$> crystal spec

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published