elixir-image / color

Color definitions, conversions and math

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Color

Color is a library to represent and manipulate color information. It is in active development but not yet ready for any use.

The library aims to be a thorough platform for color-aware applications including:

  • Color specification in many color spaces
  • Correct application of illuminants, observer angles for color temperature
  • Correct application of appropriate gamma
  • Chromaticity adaptation (necessary when some color spaces like sRGB use a D65 illuminant as standard whereas ICC profiles use D50)
  • Color conversion between color space, illuminant, observer angle and gamma
  • Conversions to support CSS color definitions (rgb, hsl, hsv)
  • Color pallette functions to return analagous, complementary, triadic, tetradic and split complements

Installation

If available in Hex, the package can be installed by adding color to your list of dependencies in mix.exs:

def deps do
  [
    {:color, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/color.

About

Color definitions, conversions and math


Languages

Language:Elixir 100.0%