Support
Contribute
Contact
Tracker
Navigation
Personal tools
 

Edje Color Notation

The colors of all elements in an edje interface are defined using the RGBA (Red Blue Green Alpha) notation, with values between 0-255.

The Alpha channel is used to set the opacity level of the resulting combination of the other three channels, with 255 being opaque and 0 being invisible.

R G B A
color: 255 0 0 255; Would form a completely opaque red.
color: 0 255 0 255; Would form a completely opaque green.
color: 0 0 255 255; Would form a completely opaque blue.
color: 255 255 0 128; Would form a yellow with 50% opacity.
color: 255 255 255 0; Would form a invisible white.

Color Set

description {
  color:  0-255 0-255 0-255 0-255;
  color2: 0-255 0-255 0-255 0-255;
  color3: 0-255 0-255 0-255 0-255;
}

There are three types of color properties.

color
Specifies the main color of a given part.
color2
In text or textblock parts, specifies the color of the text shadow.
color3
In text or textblock parts, specifies the color of the text outline.