#include <Colour.hpp>
◆ eightBit()
◆ fourBit()
◆ truecolour()
Takes three template arguments corresponding to the red, green, and blue respectively, and works identically to standard RGB colours.
Note that while the underlying ANSI guarantees the colour you provide is used, there's no guarantee it'll render visibly everywhere. Remember that some people use light mode or theme variants that may not work with the colour you've picked. You need to be extra aware of theming when using this function.
- See also
- https://en.wikipedia.org/wiki/ANSI_escape_code#24-bit
The documentation for this struct was generated from the following file: