Difference between revisions of "Colors in Matlab"
Jump to navigation
Jump to search
(Created page with "==RGB colors== For coding purposes colors are mostly specified in RGB, which stands for Red, Blue and Green. The values range from 0 to 1. As an example: the color red is give...") |
|||
Line 1: | Line 1: | ||
==RGB colors== | ==RGB colors== | ||
− | For coding purposes colors are mostly specified in RGB, which stands for Red, Blue and Green. The values range from 0 to 1. As an example: the color red is given by the triple [1,0,0]. Since it is hard to know what a certain triple (e.g. [0.5, 1, 0.5]) stands for | + | For coding purposes colors are mostly specified in RGB, which stands for Red, Blue and Green. The values range from 0 to 1. As an example: the color red is given by the triple [1,0,0]. Since it is hard to know what a certain triple (e.g. [0.5, 1, 0.5]) stands for it is more easy to call them by their name. |
+ | |||
+ | We have created a few functions for RGB colors by their names: | ||
* RGBcolors for english names | * RGBcolors for english names |
Revision as of 13:46, 20 September 2024
RGB colors
For coding purposes colors are mostly specified in RGB, which stands for Red, Blue and Green. The values range from 0 to 1. As an example: the color red is given by the triple [1,0,0]. Since it is hard to know what a certain triple (e.g. [0.5, 1, 0.5]) stands for it is more easy to call them by their name.
We have created a few functions for RGB colors by their names:
- RGBcolors for english names
- RGBkleuren for dutch names
- RGBfarben for german names
The named colors are:
RGB Code | English Name | Nederlandse Naam | Deutsche Name | Nombre en Español |
---|---|---|---|---|
[0.00, 1.00, 0.00] | Lime | Limoen | Limette | Lima |
[1.00, 0.00, 0.00] | Red | Rood | Rot | Rojo |
[0.00, 0.00, 1.00] | Blue | Blauw | Blau | Azul |
[0.00, 1.00, 1.00] | Cyan | Cyaan | Cyan | Cian |
[1.00, 0.00, 1.00] | Magenta | Magenta | Magenta | Magenta |
[1.00, 1.00, 0.00] | Yellow | Geel | Gelb | Amarillo |
[0.00, 0.00, 0.00] | Black | Zwart | Schwarz | Negro |
[0.50, 0.50, 0.50] | Grey | Grijs | Grau | Gris |
[1.00, 1.00, 1.00] | White | Wit | Weiß | Blanco |
[0.50, 0.00, 0.00] | Maroon | Kastanjebruin | Kastanienbraun | Granate |
[0.00, 0.50, 0.00] | Green | Groen | Grün | Verde |
[0.00, 0.00, 0.50] | Navy Blue | Marineblauw | Marineblau | Azul Marino |
[0.00, 0.50, 0.50] | Olive | Olijf | Olive | Oliva |
[0.50, 0.00, 0.50] | Purple | Paars | Lila | Púrpura |
[0.50, 0.50, 0.00] | Teal | Zeegroen | Türkis | Verde azulado |
[0.50, 0.00, 1.00] | Indigo | Indigo | Indigo | Índigo |
[0.50, 1.00, 0.00] | Chartreuse | Chartreuse | Chartreuse | Chartreuse |
[0.00, 0.50, 1.00] | Royal Blue | Koningsblauw | Königsblau | Azul Real |
[1.00, 0.00, 0.50] | Hot Pink | Felroze | Knallrosa | Rosa Fuerte |
[1.00, 0.50, 0.00] | Orange | Oranje | Orange | Naranja |
[0.00, 1.00, 0.50] | Spring Green | Lentegroen | Frühlingsgrün | Verde Primavera |
[0.50, 0.50, 1.00] | Light Blue | Lichtblauw | Hellblau | Azul Claro |
[0.50, 1.00, 0.50] | Light Green | Lichtgroen | Hellgrün | Verde Claro |
[0.50, 1.00, 1.00] | Aquamarine | Aquamarijn | Aquamarin | Aguamarina |
[1.00, 0.50, 0.50] | Salmon | Zalmroze | Lachs | Salmón |
[1.00, 0.50, 1.00] | Orchid | Orchidee | Orchidee | Orquídea |
[1.00, 1.00, 0.50] | Light Yellow | Lichtgeel | Hellgelb | Amarillo Claro |