/usr/share/doc/mathgl/mathgl_en/mathgl_en_22.html is in mathgl-doc-en 2.1.3.1-4ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- This manual is for MathGL (version 2.1.2), a collection of classes and routines for scientific plotting. Please report any errors in this manual to mathgl.abalakin@gmail.org.
Copyright C 2008-2012 Alexey A. Balakin.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the section entitled "GNU
Free Documentation License."
-->
<!-- Created on December 22, 2013 by texi2html 1.82
texi2html was written by:
Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>MathGL 2.1.2: 3.2 Color styles</title>
<meta name="description" content="MathGL 2.1.2: 3.2 Color styles">
<meta name="keywords" content="MathGL 2.1.2: 3.2 Color styles">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.82">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.roman {font-family:serif; font-weight:normal;}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="Color-styles"></a>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="mathgl_en_21.html#Coordinate-axes" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_23.html#Line-styles" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mathgl_en_20.html#General-concepts" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_20.html#General-concepts" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_29.html#MathGL-core" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mathgl_en.html#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_88.html#Index" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="Color-styles-1"></a>
<h2 class="section">3.2 Color styles</h2>
<p>Base colors are defined by one of symbol ‘<samp>wkrgbcymhRGBCYMHWlenupqLENUPQ</samp>’.
<p>The color types are: ‘<samp>k</samp>’ – black, ‘<samp>r</samp>’ – <span style="color: rgb(255, 0, 0);">red</span>, ‘<samp>R</samp>’ – <span style="color: rgb(127, 0, 0);">dark red</span>, ‘<samp>g</samp>’ – <span style="color: rgb(0, 255, 0);">green</span>, ‘<samp>G</samp>’ – <span style="color: rgb(0, 127, 0);">dark green</span>, ‘<samp>b</samp>’ – <span style="color: rgb(0, 0, 255);">blue</span>, ‘<samp>B</samp>’ – <span style="color: rgb(0, 0, 127);">dark blue</span>, ‘<samp>c</samp>’ – <span style="color: rgb(0, 255, 255);">cyan</span>, ‘<samp>C</samp>’ – <span style="color: rgb(0, 127, 127);">dark cyan</span>, ‘<samp>m</samp>’ – <span style="color: rgb(255, 0, 255);">magenta</span>, ‘<samp>M</samp>’ – <span style="color: rgb(127, 0, 127);">dark magenta</span>, ‘<samp>y</samp>’ – <span style="color: rgb(255, 255, 0);">yellow</span>, ‘<samp>Y</samp>’ – <span style="color: rgb(127, 127, 0);">dark yellow (gold)</span>, ‘<samp>h</samp>’ – <span style="color: rgb(127, 127, 127);">gray</span>, ‘<samp>H</samp>’ – <span style="color: rgb(76, 76, 76);">dark gray</span>, ‘<samp>w</samp>’ – white, ‘<samp>W</samp>’ – <span style="color: rgb(178, 178, 178);">bright gray</span>, ‘<samp>l</samp>’ – <span style="color: rgb(0, 255, 127);">green-blue</span>, ‘<samp>L</samp>’ – <span style="color: rgb(0, 127, 63);">dark green-blue</span>, ‘<samp>e</samp>’ – <span style="color: rgb(127, 255, 0);">green-yellow</span>, ‘<samp>E</samp>’ – <span style="color: rgb(63, 127, 0);">dark green-yellow</span>, ‘<samp>n</samp>’ – <span style="color: rgb(0, 127, 255);">sky-blue</span>, ‘<samp>N</samp>’ – <span style="color: rgb(0, 63, 127);">dark sky-blue</span>, ‘<samp>u</samp>’ – <span style="color: rgb(127, 0, 255);">blue-violet</span>, ‘<samp>U</samp>’ – <span style="color: rgb(63, 0, 127);">dark blue-violet</span>, ‘<samp>p</samp>’ – <span style="color: rgb(255, 0, 127);">purple</span>, ‘<samp>P</samp>’ – <span style="color: rgb(127, 0, 63);">dark purple</span>, ‘<samp>q</samp>’ – <span style="color: rgb(255, 127, 0);">orange</span>, ‘<samp>Q</samp>’ – <span style="color: rgb(127, 63, 0);">dark orange (brown)</span>.</p></p>
<p>You can also use “bright” colors. The “bright” color contain 2 symbols in brackets ‘<samp>{cN}</samp>’: first one is the usual symbol for color id, the second one is a digit for its brightness. The digit can be in range ‘<samp>1</samp>’...‘<samp>9</samp>’. Number ‘<samp>5</samp>’ corresponds to a normal color, ‘<samp>1</samp>’ is a very dark version of the color (practically black), and ‘<samp>9</samp>’ is a very bright version of the color (practically white). For example, the colors can be ‘<samp>{b2}</samp>’ ‘<samp>{b7}</samp>’ ‘<samp>{r7}</samp>’ and so on.
</p>
<p>Finally, you can specify RGB or RGBA values of a color using format ‘<samp>{xRRGGBB}</samp>’ or ‘<samp>{xRRGGBBAA}</samp>’ correspondingly. For example, ‘<samp>{xFF9966}</samp>’ give you
<span style="color: rgb(255, 153, 102);">melone</span> color.</p>
<hr size="6">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="mathgl_en_21.html#Coordinate-axes" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_23.html#Line-styles" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="mathgl_en_20.html#General-concepts" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_20.html#General-concepts" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="mathgl_en_29.html#MathGL-core" title="Next chapter"> >> </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated by <em>Build Daemon user</em> on <em>December 22, 2013</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.
</font>
<br>
</p>
</body>
</html>
|