Module hexplay::color
[−]
[src]
Provides helpers for generating colors for use in HexViewBuilder printing,
as well as some reexports of the underlying color crate, termcolor
Structs
ColorRange | |
ColorlessString | |
Spec |
A color specification. |
Enums
Color |
The set of available colors for the terminal foreground/background. |
Functions
black |
Creates the appropriate ColorSpec |
black_bold |
Creates the appropriate ColorSpec, in bold |
blue |
Creates the appropriate ColorSpec |
blue_bold |
Creates the appropriate ColorSpec, in bold |
cyan |
Creates the appropriate ColorSpec |
cyan_bold |
Creates the appropriate ColorSpec, in bold |
green |
Creates the appropriate ColorSpec |
green_bold |
Creates the appropriate ColorSpec, in bold |
magenta |
Creates the appropriate ColorSpec |
magenta_bold |
Creates the appropriate ColorSpec, in bold |
red |
Creates the appropriate ColorSpec |
red_bold |
Creates the appropriate ColorSpec, in bold |
white |
Creates the appropriate ColorSpec |
white_bold |
Creates the appropriate ColorSpec, in bold |
yellow |
Creates the appropriate ColorSpec |
yellow_bold |
Creates the appropriate ColorSpec, in bold |
Type Definitions
Colors |
A vector of |