You may have noticed the use of colors across these tutorials. Some times named colors, like primary, c2, LightBlue, but also HTML/CSS color notation, like #C4AEAD. We'll look into both types, and what they mean.
There are two types of names colors, website colors and standard colors.
| Named colors | Names | Description |
|---|---|---|
| Website colors | primary, secondary, c1, c2, c3, body | These colors are configured website-wide using HTML/CSS color notation. Superusers can give these names the values that will easily accesible when creating stripes. |
| Standard colors | CrimsonRed, TigerOrange, LightBlue, and many others | These colors are listed in Colors , including an example of the color, the name and the HTML/CSS notation. |
Usually you will configure the website colors, to make sure they can be used without remembering their name or notation. But Elephant allows the whole list of standard colors, so you can use an extended palette when needed.
If you checked the color list, in Colors , you may have noticed that each color has a different font color, to ensure the font is readable. This mechanism is embedded into the Elephant libraries, and it works for any color you specified.
Stripes allow using a different font color by using innerColor property. You may find an example in Using stripes .
When using framework components, like labels and buttons, you'll be using primary, secondary and a list of fixed colors, shown using labels:
You can differentiate framework colors as they are intended for class properties, for example:
@w{label(class=orange,text=orange)}
orange
..., like in %icon-orange home%
| English | 07/07/26 12:53 | Lluís Turró Cutiller | |
| English | 07/10/26 05:57 | Lluís Turró Cutiller |