Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • html color name

    Code Block
    "color": "red"
  • gray level

    Code Block
    "color": "gray50"
  • hexadecimal RGB code

    Code Block
    "color": "#FF0000"
  • word none, for transparent color

    Code Block
    "color": "none"
  • an array of RGB (three components for red, green and blue, between 0 and 255 included) or RGBA (four components adding alpha component to RGB components, between 0.0 and 1.0 included or "0" and "100%") components

    Code Block
    "color": [255,0,0]
    Code Block
    "color": [255,0,0,"50%"]
    Code Block
    "color": [255,0,0,0.5]
  • a string starting with $dom to specify the dominant color of the image. It can be followed with the index of the dominant color.

    • $dom means the first dominant color

    • $dom2 means the second dominant color

    • $dom2-1 means the second dominant color, skipping the first one

      Code Block
      "color": "$dom"
  • a string starting with $gradient:, followed with the starting and the ending colors, separated by a dash, to specified a vertical gradient.

    Code Block
    "color": "$gradient:red-blue"

    You can specify an extent with a dimension value:

    Code Block
    "color": "$gradient:red-blue-50%"

    No color value means none:

    Code Block
    "color": "$gradient:red"

    is equivalent to

    Code Block
    "color": "$gradient:red-none"
  • a string starting with $pattern:, followed with the name of a pattern, to specified a pattern.

    Code Block
    "color": "$pattern:checkerboard"

    Status
    title2021.6
    The name of the pattern could be followed by a scaling factor, separated with an asterisk. Example : $pattern:checkerboard*5 (multiply size by 5).
    See list of Available fill patterns below.

  • the string $blur, or a string starting with $blur: followed with blur parameters, to specify a blur of the background image.

    • blur parameters: It’s two positive integers separated with an x. The first is radius and the second sigma.

      Code Block
      "color": "$blur:25x25"
    • $blur is equivalent to $blur:3x3

...

Used to configure an overlay for watermarking

colorization

A color blending factor (in percent from 1 to 100), or an array of three factors, one for each color channel (red, green and blue), or a string that contains the triplet like 50,25,70 or 50|25|70.

commands

Child pages (Children Display)
styleh3
excerptTypesimple

...