Difference between revisions of "Color Editor Dialog"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (typos)
(Alpha)
Line 1: Line 1:
 +
==The Color Dialog ==
 
The color dialog has two sections: one for the color itself and other for the alpha channel (the opacity of the color). The color section allows changes to the color channels and shows the hexadecimal representation of the color. This hexadecimal representation doesn't include the alpha channel.
 
The color dialog has two sections: one for the color itself and other for the alpha channel (the opacity of the color). The color section allows changes to the color channels and shows the hexadecimal representation of the color. This hexadecimal representation doesn't include the alpha channel.
  
Line 9: Line 10:
  
 
All the RGB channels and alpha values can be modified using the triangle sliders or the numeric input. In all cases its value can be between 0 and 100. In fact RGB values it can be bigger than 100 and lower than 0. This produce interesting effects if you combine it with an alpha value between 0 and 100. This also happen with the alpha value. If you set it bigger than 100 it produces a shifted color with transparency. Same happens if values are lower than 0. You can create an object with a color with alpha = 200. Then if you apply it over another layer with alpha = 100 and use "alpha over" as the composition method you'll obtain a composited alpha of -100 (-100 = 100-200). Anyway the alpha value will be truncated to be in the [0,100] interval when the image is rendered because images cannot hold negative alpha or bigger than 100% (''Are you sure?'').
 
All the RGB channels and alpha values can be modified using the triangle sliders or the numeric input. In all cases its value can be between 0 and 100. In fact RGB values it can be bigger than 100 and lower than 0. This produce interesting effects if you combine it with an alpha value between 0 and 100. This also happen with the alpha value. If you set it bigger than 100 it produces a shifted color with transparency. Same happens if values are lower than 0. You can create an object with a color with alpha = 200. Then if you apply it over another layer with alpha = 100 and use "alpha over" as the composition method you'll obtain a composited alpha of -100 (-100 = 100-200). Anyway the alpha value will be truncated to be in the [0,100] interval when the image is rendered because images cannot hold negative alpha or bigger than 100% (''Are you sure?'').
 +
 +
On the other hand, YUV channels can only be set by the triangle sliders. It would be a good feature if those channels could also be modified by their numerical values.
 +
 +
 +
== Examples of RGB channels outside [0,100] ==
  
 
Here you can see some examples of what happens when a color channel value is set to be out of its natural scope.
 
Here you can see some examples of what happens when a color channel value is set to be out of its natural scope.
Line 30: Line 36:
 
[[Image:Color10.png]] [[Image:ColorDialog10.png]] [[Image:ColorTest10.png]]
 
[[Image:Color10.png]] [[Image:ColorDialog10.png]] [[Image:ColorTest10.png]]
  
 +
In all the examples the blend method of the horizontal rectangle was "composite".
  
 +
In the examples you can notice that negative values for a RGB channel ("overdesaturated") combined with alpha set to an intermediate value affects to white like colors more than to black like ones. On the other hand RGB channel values greater than 100 ("oversaturated") affects to black like colors more than to white like colors.
  
 +
== Examples of Alpha channel outside [0,100] ==
  
On the other hand, YUV channels can only be set by the triangle sliders. It would be a good feature if those channels could also be modified by their numerical values.
+
In the following examples you can see that negative alpha values and bigger than 100% alpha values composited with other layers produces very interesting effects. If someone want to explain why those effects are produced, please edit this page! :)
 +
 
 +
[[Image:Color11.png]] [[Image:ColorDialog11.png]] [[Image:ColorTest11.png]]
 +
 
 +
[[Image:Color12.png]] [[Image:ColorDialog12.png]] [[Image:ColorTest12.png]]
 +
 
 +
[[Image:Color13.png]] [[Image:ColorDialog13.png]] [[Image:ColorTest13.png]]

Revision as of 00:22, 30 October 2007

Languages Language: 

English • français • italiano • română • русский


The Color Dialog

The color dialog has two sections: one for the color itself and other for the alpha channel (the opacity of the color). The color section allows changes to the color channels and shows the hexadecimal representation of the color. This hexadecimal representation doesn't include the alpha channel.

Color1.png ColorDialog1.png ColorsDialogYUV1.png


ColorTest1.png

You can set the current edited color using two methods: the RGB composition (red, green and blue channels) or by the YUV composition (luma, hue, saturation, U and V channels). Select one of the tabs to make the modifications in one or other way.

All the RGB channels and alpha values can be modified using the triangle sliders or the numeric input. In all cases its value can be between 0 and 100. In fact RGB values it can be bigger than 100 and lower than 0. This produce interesting effects if you combine it with an alpha value between 0 and 100. This also happen with the alpha value. If you set it bigger than 100 it produces a shifted color with transparency. Same happens if values are lower than 0. You can create an object with a color with alpha = 200. Then if you apply it over another layer with alpha = 100 and use "alpha over" as the composition method you'll obtain a composited alpha of -100 (-100 = 100-200). Anyway the alpha value will be truncated to be in the [0,100] interval when the image is rendered because images cannot hold negative alpha or bigger than 100% (Are you sure?).

On the other hand, YUV channels can only be set by the triangle sliders. It would be a good feature if those channels could also be modified by their numerical values.


Examples of RGB channels outside [0,100]

Here you can see some examples of what happens when a color channel value is set to be out of its natural scope.

Color2.png ColorDialog2.png ColorTest2.png

Color3.png ColorDialog3.png ColorTest3.png

Color4.png ColorDialog4.png ColorTest4.png

Color5.png ColorDialog5.png ColorTest5.png

Color7.png ColorDialog7.png ColorTest7.png

Color6.png ColorDialog6.png ColorTest6.png

Color8.png ColorDialog8.png ColorTest8.png

Color9.png ColorDialog9.png ColorTest9.png

Color10.png ColorDialog10.png ColorTest10.png

In all the examples the blend method of the horizontal rectangle was "composite".

In the examples you can notice that negative values for a RGB channel ("overdesaturated") combined with alpha set to an intermediate value affects to white like colors more than to black like ones. On the other hand RGB channel values greater than 100 ("oversaturated") affects to black like colors more than to white like colors.

Examples of Alpha channel outside [0,100]

In the following examples you can see that negative alpha values and bigger than 100% alpha values composited with other layers produces very interesting effects. If someone want to explain why those effects are produced, please edit this page! :)

Color11.png ColorDialog11.png ColorTest11.png

Color12.png ColorDialog12.png ColorTest12.png

Color13.png ColorDialog13.png ColorTest13.png


Languages Language: 

English • français • italiano • română • русский