|
| |
|
creates a color with rgb-value , i.e. black.
| |
|
| |
|
creates a color with rgb-value (red,green,blue).
| |
|
|
| Test for equality: Two colors are equal, iff their rgb-values are equal. |
|
|
| Test for inequality. |
|
|
| returns the red component of c. |
|
|
| returns the green component of c. |
|
|
| returns the blue component of c. |
|
|
| |
| Black. | ||
|
|
| |
| White. | ||
|
|
| |
| Red. | ||
|
|
| |
| Green. | ||
|
|
| |
| Blue. | ||
|
|
| |
| Violet. | ||
|
|
| |
| Orange. | ||