This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:color [2016/08/12 21:02] admin |
en:color [2020/02/28 10:46] 127.0.0.1 external edit |
||
---|---|---|---|
Line 5: | Line 5: | ||
**color** [[colorconstants|color_name]]\\ | **color** [[colorconstants|color_name]]\\ | ||
**color** ( [[colorconstants|color_name]] )\\ | **color** ( [[colorconstants|color_name]] )\\ | ||
- | **color** | + | **color** |
- | **color** ( // | + | **color** ( [[rgb|rgb_expression]] |
- | **color** | + | **color** |
- | **color** ( //pen_color_name// , //brush_color_name// )\\ | + | **color** ( [[colorconstants|pen_color_name]] , [[colorconstants|brush_color_name]] )\\ |
- | **color** | + | **color** |
- | **color** ( // | + | **color** ( [[rgb|pen_rgb_expression]] |
==== Description ==== | ==== Description ==== | ||
Line 20: | Line 20: | ||
If the current pen and brush are both set to CLEAR the pixels or shapes drawn will clear the pixels of the graphics output area and make them transparent. | If the current pen and brush are both set to CLEAR the pixels or shapes drawn will clear the pixels of the graphics output area and make them transparent. | ||
- | {{page>>colorconstants}} | + | {{page>en:colorconstants}} |
- | + | ||
- | ===Color names and RGB values=== | + | |
- | ^Color Name^ARGB Values^Integer^^ | + | |
- | |black|255, 0, 0, 0|4278190080|{{: | + | |
- | |white|255, 255, 255, 255|4294506744|{{: | + | |
- | |red|255, 255, 0, 0|4294901760|{{: | + | |
- | |darkred|255, | + | |
- | |green|255, 0, 255, 0|4278255360|{{: | + | |
- | |darkgreen|255, | + | |
- | |blue|255, 0, 0, 255|4278190335|{{: | + | |
- | |darkblue|255, | + | |
- | |cyan|255, 0, 255, 255|4278255615|{{: | + | |
- | |darkcyan|255, | + | |
- | |purple|255, | + | |
- | |darkpurple|255, | + | |
- | |yellow|255, | + | |
- | |darkyellow|255, | + | |
- | |orange|255, | + | |
- | |darkorange|255, | + | |
- | |grey|255, 164, 164 , | + | |
- | |darkgrey|255, | + | |
- | |clear|0, 0, 0, 0|0|| | + | |
==== Deprecated Form ==== | ==== Deprecated Form ==== |