Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/palette.txt
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
commit1030dc837b10a03a02a85d5504cbeec168ce49e2 (patch)
tree698eefa87ac437deaf36a4141b326f8ce7986692 /help/rest/palette.txt
Import XaoS r489 (trunk after version 3.5)
Diffstat (limited to 'help/rest/palette.txt')
-rw-r--r--help/rest/palette.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/help/rest/palette.txt b/help/rest/palette.txt
new file mode 100644
index 0000000..15f861d
--- /dev/null
+++ b/help/rest/palette.txt
@@ -0,0 +1,39 @@
+.. _palette:
+
+.. index::
+ pair: menu item; Custom palette
+ pair: command line option; palette
+ pair: command; palette
+
+Custom palette
+==============
+
+**Syntax**:(palette integer integer integer)
+
+A custom palette lets you re-create some of the random palettes. The first value
+specifies the algorithm, which should currently be one of the following:
+
+0
+
+ Default palette
+
+1
+
+ Black to color gradient
+
+2
+
+ Black to color to white gradient
+
+3
+
+ Cubistic-like algorithm.
+
+The seed specifies a random seed for the palette; different seeds generate
+different palettes. The last value is the amount by which the palette is shifted.
+
+Note that changing the palette in the truecolor modes forces recalculation of
+the whole screen. To avoid this, you can enable the
+:ref:`palette emulation filter <palettef>` first.
+
+**Available as**: menu item, command line option, command \ No newline at end of file