Chameleon.CMYK (chameleon v2.5.0) View Source

Link to this section Summary

Functions

Creates a new color struct.

Link to this section Types

Specs

t() :: %Chameleon.CMYK{c: integer(), k: integer(), m: integer(), y: integer()}

Link to this section Functions

Specs

Creates a new color struct.

Examples

iex> _cmyk = Chameleon.CMYK.new(25, 30, 80, 0)
%Chameleon.CMYK{c: 25, m: 30, y: 80, k: 0}