<html lang="en"> <head> <title>Colors - GNU Octave</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="GNU Octave"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Advanced-Plotting.html#Advanced-Plotting" title="Advanced Plotting"> <link rel="next" href="Line-Styles.html#Line-Styles" title="Line Styles"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="Colors"></a> <p> Next: <a rel="next" accesskey="n" href="Line-Styles.html#Line-Styles">Line Styles</a>, Up: <a rel="up" accesskey="u" href="Advanced-Plotting.html#Advanced-Plotting">Advanced Plotting</a> <hr> </div> <h4 class="subsection">15.4.1 Colors</h4> <p><a name="index-graphics-colors-1541"></a><a name="index-colors_002c-graphics-1542"></a> Colors may be specified as RGB triplets with values ranging from zero to one, or by name. Recognized color names include <code>"blue"</code>, <code>"black"</code>, <code>"cyan"</code>, <code>"green"</code>, <code>"magenta"</code>, <code>"red"</code>, <code>"white"</code>, and <code>"yellow"</code>. </body></html>