The following formatting codes can be used to configure how colours are copied to the Windows Clipboard or displayed in the user interface.

Tip

You can mix and match RGB, CYMK and HSL tokens - each token will be converted into the appropriate colour space even if the source colour belongs to a different space

Available format tokens

TokenDescriptionColour SpaceRange
{name}Swatch namen/an/a
{a}Alpha channelRGB0 - 255
{r}Red channelRGB0 - 255
{g}Green channelRGB0 - 255
{b}Blue channelRGB0 - 255
{ah}Alpha channel (Hex)RGB00 - FF
{rh}Red channel (Hex)RGB00 - FF
{gh}Green channel (Hex)RGB00 - FF
{bh}Blue channel (Hex)RGB00 - FF
{hex}HTML hex code (excluding alpha)RGB000000 - FFFFFF
{hex8}HTML hex code (including alpha)RGB00000000 - FFFFFFFF
{c}Cyan channelCMYK0.0 - 1.0
{m}Magenta channelCMYK0.0 - 1.0
{y}Yellow channelCMYK0.0 - 1.0
{k}Black channelCMYK0.0 - 1.0
{h}HueHSL0.0 - 360.0
{s}SaturationHSL0.0 - 1.0
{l}LuminanceHSL0.0 - 1.0

Examples

The following examples show the type of output you can expect from different token combinations. The examples below are taken from the source RGB colour FF8000.

FormatExample
{hex}FF8000
#{hex}#FF8000
{r}, {g}, {b}255, 128, 0
{c}C, {m}M, {y}Y, {k}K0.000C, 0.498M, 1.000Y, 0.000K
{h}H, {s}S, {l}L30.118H, 1.000S, 0.500L
© 2014-2023 Cyotek Ltd. All Rights Reserved.
Documentation version 1.8 (buildref #135.15699), last modified 2023-04-04. Generated 2024-02-29 10:57 using Cyotek HelpWrite Professional version 6.19.1