Colors¶
When creating your own experiments, you can use arbitrary colors specified by a 6-digit hex code representing the byte values of red, green and blue (see 1 for details), with or without a leading hash "#".
These are the only two accepted forms: a color value that is neither a named color from the table below (names are matched case-insensitively) nor exactly six hex digits is an error, and the experiment will not load.
Alternatively, you can use the names of defined colors. Phyphox often uses orange (#ff7e22) as its default trademark color, but it also defines a palette of additional colors that work well on the typical dark background of phyphox. These are:
| Name | Hex | |
|---|---|---|
orange |
ff7e22 |
|
red |
fe005d |
|
magenta |
eb46f4 |
|
blue |
39a2ff |
|
green |
2bfb4c |
|
yellow |
edf668 |
|
white |
ffffff |
|
weakorange |
ffc399 |
|
weakred |
ff7cac |
|
weakmagenta |
f6aafa |
|
weakblue |
9dd1ff |
|
weakgreen |
a1fdaf |
|
weakyellow |
e7e09b |
|
weakwhite |
c4c4c4 |
Note that phyphox will adjust the colors in light mode in some cases. This is true for named colors as well as colors given in hex form. For example, the color "weakyellow" is well visible on the default phyphox dark background, but would be nearly invisible in light mode, so phyphox will adjust its brightness.