<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="Extension trait for colorizing a type which implements any std formatter (`Display`, `Debug`, `UpperHex`, etc.)"><title>OwoColorize in owo_colors - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><linkrel="stylesheet"href="../static.files/normalize-76eba96aa4d2e634.css"><linkrel="stylesheet"href="../static.files/rustdoc-5bc39a1768837dd0.css"><metaname="rustdoc-vars"data-root-path="../"data-static-root-path="../static.files/"data-current-crate="owo_colors"data-themes=""data-resource-suffix=""data-rustdoc-version="1.77.1 (7cf61ebde 2024-03-27)"data-channel="1.77.1"data-search-js="search-dd67cee4cfa65049.js"data-settings-js="settings-4313503d2e1961c2.js"><scriptsrc="../static.files/storage-4c98445ec4002617.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../static.files/main-48f368f3872407c8.js"></script><noscript><linkrel="stylesheet"href="../static.files/noscript-04d5337699b92874.css"></noscript><linkrel="alternate icon"type="image/png"href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><linkrel="alternate icon"type="image/png"href="../static.files/favicon-32x32-422f7d1d52889060.png"><linkrel="icon"type="image/svg+xml"href="../static.files/favicon-2c020d218678b618.svg"></head><bodyclass="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle"title="show sidebar"></button><aclass="logo-container"href="../owo_colors/index.html"><imgsrc="https://jam1.re/img/rust_owo.svg"alt=""></a></nav><navclass="sidebar"><divclass="sidebar-crate"><aclass="logo-container"href="../owo_colors/index.html"><imgsrc="https://jam1.re/img/rust_owo.svg"alt="logo"></a><h2><ahref="../owo_colors/index.html">owo_colors</a><spanclass="version">4.0.0</span></h2></div><h2class="location"><ahref="#">OwoColorize</a></h2><divclass="sidebar-elems"><section><h3><ahref="#provided-methods">Provided Methods</a></h3><ulclass="block"><li><ahref="#method.bg">bg</a></li><li><ahref="#method.bg_rgb">bg_rgb</a></li><li><ahref="#method.black">black</a></li><li><ahref="#method.blink">blink</a></li><li><ahref="#method.blink_fast">blink_fast</a></li><li><ahref="#method.blue">blue</a></li><li><ahref="#method.bold">bold</a></li><li><ahref="#method.bright_black">bright_black</a></li><li><ahref="#method.bright_blue">bright_blue</a></li><li><ahref="#method.bright_cyan">bright_cyan</a></li><li><ahref="#method.bright_green">bright_green</a></li><li><ahref="#method.bright_magenta">bright_magenta</a></li><li><ahref="#method.bright_purple">bright_purple</a></li><li><ahref="#method.bright_red">bright_red</a></li><li><ahref="#method.bright_white">bright_white</a></li><li><ahref="#method.bright_yellow">bright_yellow</a></li><li><ahref="#method.color">color</a></li><li><ahref="#method.cyan">cyan</a></li><li><ahref="#method.default_color">default_color</a></li><li><ahref="#method.dimmed">dimmed</a></li><li><ahref="#method.fg">fg</a></li><li><ahref="#method.fg_rgb">fg_rgb</a></li><li><ahref="#method.green">green</a></li><li><ahref="#method.hidden">hidden</a></li><li><ahref="#method.italic">italic</a></li><li><ahref="#method.magenta">magenta
<main><divclass="width-limiter"><navclass="sub"><formclass="search-form"><span></span><divid="sidebar-button"tabindex="-1"><ahref="../owo_colors/all.html"title="show sidebar"></a></div><inputclass="search-input"name="search"aria-label="Run search in the documentation"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"tabindex="-1"><ahref="../help.html"title="help">?</a></div><divid="settings-menu"tabindex="-1"><ahref="../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><sectionid="main-content"class="content"><divclass="main-heading"><h1>Trait <ahref="index.html">owo_colors</a>::<wbr><aclass="trait"href="#">OwoColorize</a><buttonid="copy-path"title="Copy item path to clipboard"><imgsrc="../static.files/clipboard-7571035ce49a181d.svg"width="19"height="18"alt="Copy item path"></button></h1><spanclass="out-of-band"><aclass="src"href="../src/owo_colors/lib.rs.html#260-477">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><preclass="rust item-decl"><code>pub trait OwoColorize: <aclass="trait"href="https://doc.rust-lang.org/1.77.1/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a> {
</details>}</code></pre><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>Extension trait for colorizing a type which implements any std formatter
<p><strong>Do you have a specific color you want to use?</strong></p>
<p>Use the specific color’s method, such as <ahref="trait.OwoColorize.html#method.blue"title="method owo_colors::OwoColorize::blue"><code>blue</code></a> or
<p><strong>Do you want your colors configurable via generics?</strong></p>
<p>Use <ahref="trait.OwoColorize.html#method.fg"title="method owo_colors::OwoColorize::fg"><code>fg</code></a> and <ahref="trait.OwoColorize.html#method.bg"title="method owo_colors::OwoColorize::bg"><code>bg</code></a> to make it compile-time configurable.</p>
<p><strong>Do you need to pick a color at runtime?</strong></p>
<p>Use the <ahref="trait.OwoColorize.html#method.color"title="method owo_colors::OwoColorize::color"><code>color</code></a>, <ahref="trait.OwoColorize.html#method.on_color"title="method owo_colors::OwoColorize::on_color"><code>on_color</code></a>,
<ahref="trait.OwoColorize.html#method.truecolor"title="method owo_colors::OwoColorize::truecolor"><code>truecolor</code></a> or <ahref="trait.OwoColorize.html#method.on_truecolor"title="method owo_colors::OwoColorize::on_truecolor"><code>on_truecolor</code></a>.</p>
<p><strong>Do you need some other text modifier?</strong></p>
<p><strong>Do you need to store a set of colors/effects to apply to multiple things?</strong></p>
<p>Use <ahref="trait.OwoColorize.html#method.style"title="method owo_colors::OwoColorize::style"><code>style</code></a> to apply a <ahref="struct.Style.html"title="struct owo_colors::Style"><code>Style</code></a></p>
</div></details><h2id="provided-methods"class="section-header">Provided Methods<ahref="#provided-methods"class="anchor">§</a></h2><divclass="methods"><detailsclass="toggle method-toggle"open><summary><sectionid="method.fg"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#270-272">source</a><h4class="code-header">fn <ahref="#method.fg"class="fn">fg</a><C: <aclass="trait"href="trait.Color.html"title="trait owo_colors::Color">Color</a>>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, C, Self></h4></section></summary><divclass="docblock"><p>Set the foreground color generically</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.black"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.black"class="fn">black</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Black.html"title="struct owo_colors::colors::Black">Black</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to black</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_black"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_black"class="fn">on_black</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Black.html"title="struct owo_colors::colors::Black">Black</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to black</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.red"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.red"class="fn">red</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Red.html"title="struct owo_colors::colors::Red">Red</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to red</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_red"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_red"class="fn">on_red</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Red.html"title="struct owo_colors::colors::Red">Red</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to red</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.green"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.green"class="fn">green</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Green.html"title="struct owo_colors::colors::Green">Green</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to green</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_green"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_green"class="fn">on_green</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Green.html"title="struct owo_colors::colors::Green">Green</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to green</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.yellow"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.yellow"class="fn">yellow</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Yellow.html"title="struct owo_colors::colors::Yellow">Yellow</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to yellow</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_yellow"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_yellow"class="fn">on_yellow</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Yellow.html"title="struct owo_colors::colors::Yellow">Yellow</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to yellow</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.blue"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.blue"class="fn">blue</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Blue.html"title="struct owo_colors::colors::Blue">Blue</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to blue</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_blue"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_blue"class="fn">on_blue</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Blue.html"title="struct owo_colors::colors::Blue">Blue</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to blue</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.magenta"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.magenta"class="fn">magenta</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Magenta.html"title="struct owo_colors::colors::Magenta">Magenta</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to magenta</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_magenta"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_magenta"class="fn">on_magenta</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Magenta.html"title="struct owo_colors::colors::Magenta">Magenta</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to magenta</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.purple"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.purple"class="fn">purple</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Magenta.html"title="struct owo_colors::colors::Magenta">Magenta</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to purple</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_purple"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_purple"class="fn">on_purple</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Magenta.html"title="struct owo_colors::colors::Magenta">Magenta</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to purple</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.cyan"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.cyan"class="fn">cyan</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Cyan.html"title="struct owo_colors::colors::Cyan">Cyan</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to cyan</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_cyan"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_cyan"class="fn">on_cyan</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Cyan.html"title="struct owo_colors::colors::Cyan">Cyan</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to cyan</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.white"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.white"class="fn">white</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.White.html"title="struct owo_colors::colors::White">White</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to white</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_white"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_white"class="fn">on_white</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.White.html"title="struct owo_colors::colors::White">White</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to white</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.default_color"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.default_color"class="fn">default_color</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Default.html"title="struct owo_colors::colors::Default">Default</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to the terminal default</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_default_color"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_default_color"class="fn">on_default_color</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.Default.html"title="struct owo_colors::colors::Default">Default</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to the terminal default</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bright_black"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.bright_black"class="fn">bright_black</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightBlack.html"title="struct owo_colors::colors::BrightBlack">BrightBlack</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to bright black</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_bright_black"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_bright_black"class="fn">on_bright_black</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightBlack.html"title="struct owo_colors::colors::BrightBlack">BrightBlack</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to bright black</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bright_red"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.bright_red"class="fn">bright_red</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightRed.html"title="struct owo_colors::colors::BrightRed">BrightRed</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to bright red</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_bright_red"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_bright_red"class="fn">on_bright_red</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightRed.html"title="struct owo_colors::colors::BrightRed">BrightRed</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to bright red</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bright_green"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.bright_green"class="fn">bright_green</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightGreen.html"title="struct owo_colors::colors::BrightGreen">BrightGreen</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to bright green</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_bright_green"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_bright_green"class="fn">on_bright_green</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightGreen.html"title="struct owo_colors::colors::BrightGreen">BrightGreen</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to bright green</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bright_yellow"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.bright_yellow"class="fn">bright_yellow</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightYellow.html"title="struct owo_colors::colors::BrightYellow">BrightYellow</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to bright yellow</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_bright_yellow"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_bright_yellow"class="fn">on_bright_yellow</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightYellow.html"title="struct owo_colors::colors::BrightYellow">BrightYellow</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to bright yellow</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bright_blue"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.bright_blue"class="fn">bright_blue</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightBlue.html"title="struct owo_colors::colors::BrightBlue">BrightBlue</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to bright blue</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_bright_blue"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_bright_blue"class="fn">on_bright_blue</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightBlue.html"title="struct owo_colors::colors::BrightBlue">BrightBlue</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to bright blue</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bright_magenta"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.bright_magenta"class="fn">bright_magenta</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightMagenta.html"title="struct owo_colors::colors::BrightMagenta">BrightMagenta</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to bright magenta</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_bright_magenta"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_bright_magenta"class="fn">on_bright_magenta</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightMagenta.html"title="struct owo_colors::colors::BrightMagenta">BrightMagenta</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to bright magenta</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bright_purple"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.bright_purple"class="fn">bright_purple</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightMagenta.html"title="struct owo_colors::colors::BrightMagenta">BrightMagenta</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to bright purple</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_bright_purple"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_bright_purple"class="fn">on_bright_purple</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightMagenta.html"title="struct owo_colors::colors::BrightMagenta">BrightMagenta</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to bright purple</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bright_cyan"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.bright_cyan"class="fn">bright_cyan</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightCyan.html"title="struct owo_colors::colors::BrightCyan">BrightCyan</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to bright cyan</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_bright_cyan"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_bright_cyan"class="fn">on_bright_cyan</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightCyan.html"title="struct owo_colors::colors::BrightCyan">BrightCyan</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to bright cyan</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bright_white"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.bright_white"class="fn">bright_white</a>(&self) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightWhite.html"title="struct owo_colors::colors::BrightWhite">BrightWhite</a>, Self></h4></section></summary><divclass="docblock"><p>Change the foreground color to bright white</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_bright_white"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#287-347">source</a><h4class="code-header">fn <ahref="#method.on_bright_white"class="fn">on_bright_white</a>(&self) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.BrightWhite.html"title="struct owo_colors::colors::BrightWhite">BrightWhite</a>, Self></h4></section></summary><divclass="docblock"><p>Change the background color to bright white</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bold"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#349-368">source</a><h4class="code-header">fn <ahref="#method.bold"class="fn">bold</a>(&self) -><aclass="struct"href="styles/struct.BoldDisplay.html"title="struct owo_colors::styles::BoldDisplay">BoldDisplay</a><'_, Self></h4></section></summary><divclass="docblock"><p>Make the text bold</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.dimmed"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#349-368">source</a><h4class="code-header">fn <ahref="#method.dimmed"class="fn">dimmed</a>(&self) -><aclass="struct"href="styles/struct.DimDisplay.html"title="struct owo_colors::styles::DimDisplay">DimDisplay</a><'_, Self></h4></section></summary><divclass="docblock"><p>Make the text dim</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.italic"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#349-368">source</a><h4class="code-header">fn <ahref="#method.italic"class="fn">italic</a>(&self) -><aclass="struct"href="styles/struct.ItalicDisplay.html"title="struct owo_colors::styles::ItalicDisplay">ItalicDisplay</a><'_, Self></h4></section></summary><divclass="docblock"><p>Make the text italicized</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.underline"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#349-368">source</a><h4class="code-header">fn <ahref="#method.underline"class="fn">underline</a>(&self) -><aclass="struct"href="styles/struct.UnderlineDisplay.html"title="struct owo_colors::styles::UnderlineDisplay">UnderlineDisplay</a><'_, Self></h4></section></summary><divclass="docblock"><p>Make the text italicized</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.blink"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#349-368">source</a><h4class="code-header">fn <ahref="#method.blink"class="fn">blink</a>(&self) -><aclass="struct"href="styles/struct.BlinkDisplay.html"title="struct owo_colors::styles::BlinkDisplay">BlinkDisplay</a><'_, Self></h4></section></summary><divclass="docblock"><p>Make the text blink</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.blink_fast"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#349-368">source</a><h4class="code-header">fn <ahref="#method.blink_fast"class="fn">blink_fast</a>(&self) -><aclass="struct"href="styles/struct.BlinkFastDisplay.html"title="struct owo_colors::styles::BlinkFastDisplay">BlinkFastDisplay</a><'_, Self></h4></section></summary><divclass="docblock"><p>Make the text blink (but fast!)</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.reversed"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#349-368">source</a><h4class="code-header">fn <ahref="#method.reversed"class="fn">reversed</a>(&self) -><aclass="struct"href="styles/struct.ReversedDisplay.html"title="struct owo_colors::styles::ReversedDisplay">ReversedDisplay</a><'_, Self></h4></section></summary><divclass="docblock"><p>Swap the foreground and background colors</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.hidden"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#349-368">source</a><h4class="code-header">fn <ahref="#method.hidden"class="fn">hidden</a>(&self) -><aclass="struct"href="styles/struct.HiddenDisplay.html"title="struct owo_colors::styles::HiddenDisplay">HiddenDisplay</a><'_, Self></h4></section></summary><divclass="docblock"><p>Hide the text</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.strikethrough"class="method"><aclass="src rightside"href="../src/owo_colors/lib.rs.html#349-368">source</a><h4class="code-header">fn <ahref="#method.strikethrough"class="fn">strikethrough</a>(&self) -><aclass="struct"href="styles/struct.StrikeThroughDisplay.html"title="struct owo_colors::styles::StrikeThroughDisplay">StrikeThroughDisplay</a><'_, Self></h4></section></summary><divclass="docblock"><p>Cross out the text</p>
) -><aclass="struct"href="struct.FgDynColorDisplay.html"title="struct owo_colors::FgDynColorDisplay">FgDynColorDisplay</a><'_, Color, Self></h4></section></summary><divclass="docblock"><p>Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either <ahref="trait.OwoColorize.html#method.fg"title="method owo_colors::OwoColorize::fg"><code>OwoColorize::fg</code></a> or
a color-specific method, such as <ahref="trait.OwoColorize.html#method.green"title="method owo_colors::OwoColorize::green"><code>OwoColorize::green</code></a>,</p>
) -><aclass="struct"href="struct.BgDynColorDisplay.html"title="struct owo_colors::BgDynColorDisplay">BgDynColorDisplay</a><'_, Color, Self></h4></section></summary><divclass="docblock"><p>Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either <ahref="trait.OwoColorize.html#method.bg"title="method owo_colors::OwoColorize::bg"><code>OwoColorize::bg</code></a> or
a color-specific method, such as <ahref="trait.OwoColorize.html#method.on_yellow"title="method owo_colors::OwoColorize::on_yellow"><code>OwoColorize::on_yellow</code></a>,</p>
) -><aclass="struct"href="struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="colors/struct.CustomColor.html"title="struct owo_colors::colors::CustomColor">CustomColor</a><R, G, B>, Self></h4></section></summary><divclass="docblock"><p>Set the foreground color to a specific RGB value.</p>
) -><aclass="struct"href="struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="colors/struct.CustomColor.html"title="struct owo_colors::colors::CustomColor">CustomColor</a><R, G, B>, Self></h4></section></summary><divclass="docblock"><p>Set the background color to a specific RGB value.</p>