That layer is only there for previewing.
With a solid color image like this, it makes the colors selection in the GUI (click on the logo) useless.
It works by drawing the color gradient first, then overlaying this background image.
I'll see if I can quickly implement the code required to allow over-ride of the images.
I can add any custom colors or gradients requested.
The format is:
Code: Select all
Color_name
rgb(red, green, blue)
Gradient_name
blend:
hls(hue, lightness, saturation)
hls(hue, lightness, saturation)
hls(hue, lightness, saturation)
hls(hue, lightness, saturation)
1/16, 42*99, 1/12 + 3/5
This will also be imported as part of the skinning capability at some point...
Here is the actual code used:
Code: Select all
cmap_t("Red", "hls(0/12, 2/5, 7/8)"),
cmap_t("Orange", "hls(1/12, 2/5, 7/8)"),
cmap_t("Yellow", "hls(2/12, 2/5, 7/8)"),
cmap_t("Chartreuse", "hls(3/12, 2/5, 7/8)"),
cmap_t("Green", "hls(4/12, 2/5, 7/8)"),
cmap_t("Spring", "hls(5/12, 2/5, 7/8)"),
cmap_t("Cyan", "hls(6/12, 2/5, 7/8)"),
cmap_t("Sky", "hls(7/12, 2/5, 7/8)"),
cmap_t("Blue", "hls(8/12, 2/5, 7/8)"),
cmap_t("Purple", "hls(9/12, 2/5, 7/8)"),
cmap_t("Violet", "hls(10/12, 2/5, 7/8)"),
cmap_t("Pink", "hls(11/12, 2/5, 7/8)"),
cmap_t("Dark", "hls(2/3, 3/18, 1/10)"),
cmap_t("Gray", "hls(0, 1/2, 0)"),
cmap_t("White", "hls(0, 1, 1)"),
// blends
cmap_t("RGBK",
"blend:\n"
"hls(0/3, 1/2, 1)\n"
"hls(1/3, 1/2, 1)\n"
"hls(2/3, 1/2, 1)\n"
"hls(0, 0, 1)\n"),
cmap_t("Cotton candy",
"blend:\n"
"hls(8/9, 5/9, 1)\n"
"hls(8/9, 7/9, 1)\n"
"hls(5/9, 5/9, 1)\n"
"hls(5/9, 7/9, 1)\n"),
cmap_t("Florida sunset",
"blend:\n"
"hls(11/15, 2/5, 1)\n"
"hls(11/15, 1/2, 1)\n"
"hls(1/15, 2/5, 1)\n"
"hls(1/15, 1/2, 1)\n"),
Your color in HSV = 140/360, 1/2, 3/4 - 1/100
http://colormine.org/convert/hsl-to-hsv
HSV -> HLS translation = 0.388, 0.553, 0.412
