View Source API Reference ColorPalette v0.1.1
Modules
Color Palette Functions
colors/0
: A map between the color name (e.g.,:black
) and theColorPalette.Color
struct.ansi_color_codes/0
- A list of all 256 ANSI color codescolor_groups_to_ansi_color_codes/0
- A map between the color group and the ANSI color codescolor_groups/0
- 11 color groups based on the web extended colorsio_ansi_color_names/0
- TheIO.ANSI
colors and their corresponding text contrast colors.reset/0
- Delegates to theIO.ANSI.reset/0
function.find_by_hex/1
- Finds a color by its hex value.find_by_code/1
- Finds a color by its ANSI code number (e.g., 0..255).
Colors
See below for the color descriptions. IMPORTANT Note that there are background versions for
each color; e.g., the function tea_green_background/0
(which is not listed below) is the
background color for
A struct which represents one of the 255 ANSI colors.
Utility functions for building the ExDocs
Generates the guides for the ExDocs