<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="rustdoc">
    <meta name="description" content="API documentation for the Rust `color` mod in crate `term`.">
    <meta name="keywords" content="rust, rustlang, rust-lang, color">

    <title>term::color - Rust</title>

    <link rel="stylesheet" type="text/css" href="../../main.css">

    <link rel="shortcut icon" href="http://www.rust-lang.org/favicon.ico">
    
</head>
<body class="rustdoc">
    <!--[if lte IE 8]>
    <div class="warning">
        This old browser is unsupported and will most likely display funky
        things.
    </div>
    <![endif]-->

    

    <section class="sidebar">
        <a href='../../term/index.html'><img src='http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='' width='100'></a>
        <p class='location'><a href='../index.html'>term</a></p><script>window.sidebarCurrent = {name: 'color', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script>
    </section>

    <nav class="sub">
        <form class="search-form js-only">
            <div class="search-container">
                <input class="search-input" name="search"
                       autocomplete="off"
                       placeholder="Click or press 'S' to search, '?' for more options..."
                       type="search">
            </div>
        </form>
    </nav>

    <section id='main' class="content mod">
<h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>term</a>::<wbr><a class='mod' href=''>color</a><wbr><a class='stability Unstable' title='use the crates.io `term` library instead'>Unstable</a></span><span class='out-of-band'><span id='render-detail'>
            <a id="collapse-all" href="#">[-]</a>&nbsp;<a id="expand-all" href="#">[+]</a>
        </span><a id='src-8395' href='../../src/term/lib.rs.html#154-175'>[src]</a></span></h1>
<div class='docblock'><p>Terminal color definitions</p>
</div><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2>
<table>
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BLACK.html'
                               title='term::color::BLACK'>BLACK</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BLUE.html'
                               title='term::color::BLUE'>BLUE</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_BLACK.html'
                               title='term::color::BRIGHT_BLACK'>BRIGHT_BLACK</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_BLUE.html'
                               title='term::color::BRIGHT_BLUE'>BRIGHT_BLUE</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_CYAN.html'
                               title='term::color::BRIGHT_CYAN'>BRIGHT_CYAN</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_GREEN.html'
                               title='term::color::BRIGHT_GREEN'>BRIGHT_GREEN</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_MAGENTA.html'
                               title='term::color::BRIGHT_MAGENTA'>BRIGHT_MAGENTA</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_RED.html'
                               title='term::color::BRIGHT_RED'>BRIGHT_RED</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_WHITE.html'
                               title='term::color::BRIGHT_WHITE'>BRIGHT_WHITE</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.BRIGHT_YELLOW.html'
                               title='term::color::BRIGHT_YELLOW'>BRIGHT_YELLOW</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.CYAN.html'
                               title='term::color::CYAN'>CYAN</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.GREEN.html'
                               title='term::color::GREEN'>GREEN</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.MAGENTA.html'
                               title='term::color::MAGENTA'>MAGENTA</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.RED.html'
                               title='term::color::RED'>RED</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.WHITE.html'
                               title='term::color::WHITE'>WHITE</a></td>
                        <td class='docblock short'></td>
                    </tr>
                
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='constant' href='constant.YELLOW.html'
                               title='term::color::YELLOW'>YELLOW</a></td>
                        <td class='docblock short'></td>
                    </tr>
                </table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
<table>
                    <tr>
                        <td><a class='stability Unstable' title='Unstable: use the crates.io `term` library instead'></a><a class='type' href='type.Color.html'
                               title='term::color::Color'>Color</a></td>
                        <td class='docblock short'><p>Number for a terminal color</p>
</td>
                    </tr>
                </table></section>
    <section id='search' class="content hidden"></section>

    <section class="footer"></section>

    <div id="help" class="hidden">
        <div class="shortcuts">
            <h1>Keyboard shortcuts</h1>
            <dl>
                <dt>?</dt>
                <dd>Show this help dialog</dd>
                <dt>S</dt>
                <dd>Focus the search field</dd>
                <dt>&larrb;</dt>
                <dd>Move up in search results</dd>
                <dt>&rarrb;</dt>
                <dd>Move down in search results</dd>
                <dt>&#9166;</dt>
                <dd>Go to active search result</dd>
            </dl>
        </div>
        <div class="infos">
            <h1>Search tricks</h1>
            <p>
                Prefix searches with a type followed by a colon (e.g.
                <code>fn:</code>) to restrict the search to a given type.
            </p>
            <p>
                Accepted types are: <code>fn</code>, <code>mod</code>,
                <code>struct</code>, <code>enum</code>,
                <code>trait</code>, <code>typedef</code> (or
                <code>tdef</code>).
            </p>
        </div>
    </div>

    

    <script>
        window.rootPath = "../../";
        window.currentCrate = "term";
        window.playgroundUrl = "http://play.rust-lang.org/";
    </script>
    <script src="../../jquery.js"></script>
    <script src="../../main.js"></script>
    <script src="../../playpen.js"></script>
    <script async src="../../search-index.js"></script>
</body>
</html>