selenite 0.0.2

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

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
Repository

selenite

Owner
Statistic
  • 2
  • 0
  • 0
  • 0
  • 1
  • 3 months ago
  • April 3, 2019
License

GNU General Public License v3.0

Links
Synced at

Thu, 21 Nov 2024 12:23:28 GMT

Languages