View Source ColorPalette.ColorGroup (ColorPalette v0.1.10)

Represents one of the 11 color groups in the web extended colors

See this guide for a visual depiction of the 11 color groups and their constituent ANSI color codes.

Note that the grouping into color groups is somewhat arbitrary and definitely non-definitive.

Summary

Functions

Returns the 11 color groups based on the web extended colors

Types

@type t() ::
  :blue
  | :brown
  | :cyan
  | :gray_and_black
  | :green
  | :orange
  | :pink
  | :purple_violet_and_magenta
  | :red
  | :white
  | :yellow

Functions

@spec color_groups() :: [t()]

Returns the 11 color groups based on the web extended colors