Colors in Matlab
Jump to navigation
Jump to search
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
- <RGBcolores> for spanish names
An example:
>>colores = RGBcolores; >>colores.AZUL_CLARO ans = 0.5000 0.5000 1.0000
All the named colors are:
RGB Code | English Name | Nederlandse Naam | Deutsche Name | Nombre en Español | Kleur |
---|---|---|---|---|---|
[0.00, 1.00, 0.00] | Lime | Limoen | Limettengrün | 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 | MORADO | |
[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 BRILLIANTE | |
[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 |