hexColorLength

Control the hex color values in short-hand form or long-hand form.

Possible options:

  • null: Hex color values will be kept as-is.
  • "short": Hex color values will be converted to short-hand form.
  • "long": Hex color values will be converted to long-hand form.

Default option is null.

Example for null

Playground

a {
  color: #fff;
  color: #ffffff;
}

Example for "short"

Playground

a {
  color: #fff;
}

Example for "long"

Playground

a {
  color: #ffffff;
}