color_tools.exporters.hex_exporter

HEX palette exporter.

Exports colors as one uppercase six-digit hexadecimal RGB value per line.

Format example:

FF0000 00FF00 0000FF

The leading # is omitted to match the common Lospec-style HEX palette representation.

class color_tools.exporters.hex_exporter.HexExporter[source]

Bases: PaletteExporter

Export color palettes as plain-text hexadecimal RGB values.

Each color is written as uppercase RRGGBB on its own line with no leading #.

This representation matches the HEX palette format commonly exported by Lospec and other palette-oriented tools.

property metadata: ExporterMetadata

Return metadata describing the HEX exporter.