View Source ColorPalette.ANSIColorCode (ColorPalette v0.1.9)

ANSI Color Code Struct

A struct which represents one of the 256 ANSI color codes

Summary

Types

@type code() :: 0..255
@type hex() :: String.t()
@type rgb_value() :: 0..255
@type t() :: %ColorPalette.ANSIColorCode{
  code: code(),
  color_group: ColorPalette.ColorGroup.t(),
  hex: hex(),
  rgb: [rgb_value()]
}