View Source Color.Rgb (ExUnion v0.1.2)

Link to this section Summary

Link to this section Types

@type t() :: %Color.Rgb{blue: 0..255, green: 0..255, red: 0..255}

Link to this section Functions

@spec new(fields :: %{red: 0..255, green: 0..255, blue: 0..255}) :: t()
@spec new(fields :: [red: 0..255, green: 0..255, blue: 0..255]) :: t()
@spec new(red :: 0..255, green :: 0..255, blue :: 0..255) :: t()