Chameleon.Pantone (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.Pantone{pantone: String.t()}

Link to this section Functions

Specs

new(String.t()) :: t()

Creates a new color struct.

Examples

iex> _pantone = Chameleon.Pantone.new("30")
%Chameleon.Pantone{pantone: "30"}