Introduction
This package provides a wide array of functions for dealing with color.
Available colorspaces include:
RGB,BGR,XRGB,RGBX,RGB24HSV,HSL,HSIXYZ,xyY,LMSLab,Luv,LCHab,LCHuvDIN99,DIN99d,DIN99oYIQ,YCbCrGray,Gray24- and their transparent variants:
ARGB,RGBA,ARGB32,AHSV,HSVA, and so on
Package Features
- Color Parsing
- Color Conversions
- Color Differences
- Colormaps and Colorscales
- Simulation of color deficiency
Installation
The package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:
pkg> add ColorsReexport
Note that Colors is used within other packages (e.g. Images) and may have been reexported by them. In addition, the color types used by Colors are defined in ColorTypes package. Colors reexports the types and functions exported by ColorTypes. For example, that means:
julia> using Images; # instead `using Colors`
julia> RGB # You can use the types and functions (re-)exported by Colors.
RGB
julia> RGB === Images.RGB === Colors.RGB === ColorTypes.RGB
true