[][src]Trait polyhorn_ios::color::NamedColor

pub trait NamedColor: FromStr {
    fn aliceblue() -> Self;
fn antiquewhite() -> Self;
fn aqua() -> Self;
fn aquamarine() -> Self;
fn azure() -> Self;
fn beige() -> Self;
fn bisque() -> Self;
fn black() -> Self;
fn blanchedalmond() -> Self;
fn blue() -> Self;
fn blueviolet() -> Self;
fn brown() -> Self;
fn burlywood() -> Self;
fn cadetblue() -> Self;
fn chartreuse() -> Self;
fn chocolate() -> Self;
fn coral() -> Self;
fn cornflowerblue() -> Self;
fn cornsilk() -> Self;
fn crimson() -> Self;
fn cyan() -> Self;
fn darkblue() -> Self;
fn darkcyan() -> Self;
fn darkgoldenrod() -> Self;
fn darkgray() -> Self;
fn darkgreen() -> Self;
fn darkgrey() -> Self;
fn darkkhaki() -> Self;
fn darkmagenta() -> Self;
fn darkolivegreen() -> Self;
fn darkorange() -> Self;
fn darkorchid() -> Self;
fn darkred() -> Self;
fn darksalmon() -> Self;
fn darkseagreen() -> Self;
fn darkslateblue() -> Self;
fn darkslategray() -> Self;
fn darkslategrey() -> Self;
fn darkturquoise() -> Self;
fn darkviolet() -> Self;
fn deeppink() -> Self;
fn deepskyblue() -> Self;
fn dimgray() -> Self;
fn dimgrey() -> Self;
fn dodgerblue() -> Self;
fn firebrick() -> Self;
fn floralwhite() -> Self;
fn forestgreen() -> Self;
fn fuchsia() -> Self;
fn gainsboro() -> Self;
fn ghostwhite() -> Self;
fn gold() -> Self;
fn goldenrod() -> Self;
fn gray() -> Self;
fn green() -> Self;
fn greenyellow() -> Self;
fn grey() -> Self;
fn honeydew() -> Self;
fn hotpink() -> Self;
fn indianred() -> Self;
fn indigo() -> Self;
fn ivory() -> Self;
fn khaki() -> Self;
fn lavender() -> Self;
fn lavenderblush() -> Self;
fn lawngreen() -> Self;
fn lemonchiffon() -> Self;
fn lightblue() -> Self;
fn lightcoral() -> Self;
fn lightcyan() -> Self;
fn lightgoldenrodyellow() -> Self;
fn lightgray() -> Self;
fn lightgreen() -> Self;
fn lightgrey() -> Self;
fn lightpink() -> Self;
fn lightsalmon() -> Self;
fn lightseagreen() -> Self;
fn lightskyblue() -> Self;
fn lightslategray() -> Self;
fn lightslategrey() -> Self;
fn lightsteelblue() -> Self;
fn lightyellow() -> Self;
fn lime() -> Self;
fn limegreen() -> Self;
fn linen() -> Self;
fn magenta() -> Self;
fn maroon() -> Self;
fn mediumaquamarine() -> Self;
fn mediumblue() -> Self;
fn mediumorchid() -> Self;
fn mediumpurple() -> Self;
fn mediumseagreen() -> Self;
fn mediumslateblue() -> Self;
fn mediumspringgreen() -> Self;
fn mediumturquoise() -> Self;
fn mediumvioletred() -> Self;
fn midnightblue() -> Self;
fn mintcream() -> Self;
fn mistyrose() -> Self;
fn moccasin() -> Self;
fn navajowhite() -> Self;
fn navy() -> Self;
fn oldlace() -> Self;
fn olive() -> Self;
fn olivedrab() -> Self;
fn orange() -> Self;
fn orangered() -> Self;
fn orchid() -> Self;
fn palegoldenrod() -> Self;
fn palegreen() -> Self;
fn paleturquoise() -> Self;
fn palevioletred() -> Self;
fn papayawhip() -> Self;
fn peachpuff() -> Self;
fn peru() -> Self;
fn pink() -> Self;
fn plum() -> Self;
fn powderblue() -> Self;
fn purple() -> Self;
fn rebeccapurple() -> Self;
fn red() -> Self;
fn rosybrown() -> Self;
fn royalblue() -> Self;
fn saddlebrown() -> Self;
fn salmon() -> Self;
fn sandybrown() -> Self;
fn seagreen() -> Self;
fn seashell() -> Self;
fn sienna() -> Self;
fn silver() -> Self;
fn skyblue() -> Self;
fn slateblue() -> Self;
fn slategray() -> Self;
fn slategrey() -> Self;
fn snow() -> Self;
fn springgreen() -> Self;
fn steelblue() -> Self;
fn tan() -> Self;
fn teal() -> Self;
fn thistle() -> Self;
fn tomato() -> Self;
fn turquoise() -> Self;
fn violet() -> Self;
fn wheat() -> Self;
fn white() -> Self;
fn whitesmoke() -> Self;
fn yellow() -> Self;
fn yellowgreen() -> Self; }

Trait with a function for every CSS-compliant named color.

Required methods

fn aliceblue() -> Self

Returns a CSS-compliant named color for aliceblue in the sRGB color space.

fn antiquewhite() -> Self

Returns a CSS-compliant named color for antiquewhite in the sRGB color space.

fn aqua() -> Self

Returns a CSS-compliant named color for aqua in the sRGB color space.

fn aquamarine() -> Self

Returns a CSS-compliant named color for aquamarine in the sRGB color space.

fn azure() -> Self

Returns a CSS-compliant named color for azure in the sRGB color space.

fn beige() -> Self

Returns a CSS-compliant named color for beige in the sRGB color space.

fn bisque() -> Self

Returns a CSS-compliant named color for bisque in the sRGB color space.

fn black() -> Self

Returns a CSS-compliant named color for black in the sRGB color space.

fn blanchedalmond() -> Self

Returns a CSS-compliant named color for blanchedalmond in the sRGB color space.

fn blue() -> Self

Returns a CSS-compliant named color for blue in the sRGB color space.

fn blueviolet() -> Self

Returns a CSS-compliant named color for blueviolet in the sRGB color space.

fn brown() -> Self

Returns a CSS-compliant named color for brown in the sRGB color space.

fn burlywood() -> Self

Returns a CSS-compliant named color for burlywood in the sRGB color space.

fn cadetblue() -> Self

Returns a CSS-compliant named color for cadetblue in the sRGB color space.

fn chartreuse() -> Self

Returns a CSS-compliant named color for chartreuse in the sRGB color space.

fn chocolate() -> Self

Returns a CSS-compliant named color for chocolate in the sRGB color space.

fn coral() -> Self

Returns a CSS-compliant named color for coral in the sRGB color space.

fn cornflowerblue() -> Self

Returns a CSS-compliant named color for cornflowerblue in the sRGB color space.

fn cornsilk() -> Self

Returns a CSS-compliant named color for cornsilk in the sRGB color space.

fn crimson() -> Self

Returns a CSS-compliant named color for crimson in the sRGB color space.

fn cyan() -> Self

Returns a CSS-compliant named color for cyan in the sRGB color space.

fn darkblue() -> Self

Returns a CSS-compliant named color for darkblue in the sRGB color space.

fn darkcyan() -> Self

Returns a CSS-compliant named color for darkcyan in the sRGB color space.

fn darkgoldenrod() -> Self

Returns a CSS-compliant named color for darkgoldenrod in the sRGB color space.

fn darkgray() -> Self

Returns a CSS-compliant named color for darkgray in the sRGB color space.

fn darkgreen() -> Self

Returns a CSS-compliant named color for darkgreen in the sRGB color space.

fn darkgrey() -> Self

Returns a CSS-compliant named color for darkgrey in the sRGB color space.

fn darkkhaki() -> Self

Returns a CSS-compliant named color for darkkhaki in the sRGB color space.

fn darkmagenta() -> Self

Returns a CSS-compliant named color for darkmagenta in the sRGB color space.

fn darkolivegreen() -> Self

Returns a CSS-compliant named color for darkolivegreen in the sRGB color space.

fn darkorange() -> Self

Returns a CSS-compliant named color for darkorange in the sRGB color space.

fn darkorchid() -> Self

Returns a CSS-compliant named color for darkorchid in the sRGB color space.

fn darkred() -> Self

Returns a CSS-compliant named color for darkred in the sRGB color space.

fn darksalmon() -> Self

Returns a CSS-compliant named color for darksalmon in the sRGB color space.

fn darkseagreen() -> Self

Returns a CSS-compliant named color for darkseagreen in the sRGB color space.

fn darkslateblue() -> Self

Returns a CSS-compliant named color for darkslateblue in the sRGB color space.

fn darkslategray() -> Self

Returns a CSS-compliant named color for darkslategray in the sRGB color space.

fn darkslategrey() -> Self

Returns a CSS-compliant named color for darkslategrey in the sRGB color space.

fn darkturquoise() -> Self

Returns a CSS-compliant named color for darkturquoise in the sRGB color space.

fn darkviolet() -> Self

Returns a CSS-compliant named color for darkviolet in the sRGB color space.

fn deeppink() -> Self

Returns a CSS-compliant named color for deeppink in the sRGB color space.

fn deepskyblue() -> Self

Returns a CSS-compliant named color for deepskyblue in the sRGB color space.

fn dimgray() -> Self

Returns a CSS-compliant named color for dimgray in the sRGB color space.

fn dimgrey() -> Self

Returns a CSS-compliant named color for dimgrey in the sRGB color space.

fn dodgerblue() -> Self

Returns a CSS-compliant named color for dodgerblue in the sRGB color space.

fn firebrick() -> Self

Returns a CSS-compliant named color for firebrick in the sRGB color space.

fn floralwhite() -> Self

Returns a CSS-compliant named color for floralwhite in the sRGB color space.

fn forestgreen() -> Self

Returns a CSS-compliant named color for forestgreen in the sRGB color space.

fn fuchsia() -> Self

Returns a CSS-compliant named color for fuchsia in the sRGB color space.

fn gainsboro() -> Self

Returns a CSS-compliant named color for gainsboro in the sRGB color space.

fn ghostwhite() -> Self

Returns a CSS-compliant named color for ghostwhite in the sRGB color space.

fn gold() -> Self

Returns a CSS-compliant named color for gold in the sRGB color space.

fn goldenrod() -> Self

Returns a CSS-compliant named color for goldenrod in the sRGB color space.

fn gray() -> Self

Returns a CSS-compliant named color for gray in the sRGB color space.

fn green() -> Self

Returns a CSS-compliant named color for green in the sRGB color space.

fn greenyellow() -> Self

Returns a CSS-compliant named color for greenyellow in the sRGB color space.

fn grey() -> Self

Returns a CSS-compliant named color for grey in the sRGB color space.

fn honeydew() -> Self

Returns a CSS-compliant named color for honeydew in the sRGB color space.

fn hotpink() -> Self

Returns a CSS-compliant named color for hotpink in the sRGB color space.

fn indianred() -> Self

Returns a CSS-compliant named color for indianred in the sRGB color space.

fn indigo() -> Self

Returns a CSS-compliant named color for indigo in the sRGB color space.

fn ivory() -> Self

Returns a CSS-compliant named color for ivory in the sRGB color space.

fn khaki() -> Self

Returns a CSS-compliant named color for khaki in the sRGB color space.

fn lavender() -> Self

Returns a CSS-compliant named color for lavender in the sRGB color space.

fn lavenderblush() -> Self

Returns a CSS-compliant named color for lavenderblush in the sRGB color space.

fn lawngreen() -> Self

Returns a CSS-compliant named color for lawngreen in the sRGB color space.

fn lemonchiffon() -> Self

Returns a CSS-compliant named color for lemonchiffon in the sRGB color space.

fn lightblue() -> Self

Returns a CSS-compliant named color for lightblue in the sRGB color space.

fn lightcoral() -> Self

Returns a CSS-compliant named color for lightcoral in the sRGB color space.

fn lightcyan() -> Self

Returns a CSS-compliant named color for lightcyan in the sRGB color space.

fn lightgoldenrodyellow() -> Self

Returns a CSS-compliant named color for lightgoldenrodyellow in the sRGB color space.

fn lightgray() -> Self

Returns a CSS-compliant named color for lightgray in the sRGB color space.

fn lightgreen() -> Self

Returns a CSS-compliant named color for lightgreen in the sRGB color space.

fn lightgrey() -> Self

Returns a CSS-compliant named color for lightgrey in the sRGB color space.

fn lightpink() -> Self

Returns a CSS-compliant named color for lightpink in the sRGB color space.

fn lightsalmon() -> Self

Returns a CSS-compliant named color for lightsalmon in the sRGB color space.

fn lightseagreen() -> Self

Returns a CSS-compliant named color for lightseagreen in the sRGB color space.

fn lightskyblue() -> Self

Returns a CSS-compliant named color for lightskyblue in the sRGB color space.

fn lightslategray() -> Self

Returns a CSS-compliant named color for lightslategray in the sRGB color space.

fn lightslategrey() -> Self

Returns a CSS-compliant named color for lightslategrey in the sRGB color space.

fn lightsteelblue() -> Self

Returns a CSS-compliant named color for lightsteelblue in the sRGB color space.

fn lightyellow() -> Self

Returns a CSS-compliant named color for lightyellow in the sRGB color space.

fn lime() -> Self

Returns a CSS-compliant named color for lime in the sRGB color space.

fn limegreen() -> Self

Returns a CSS-compliant named color for limegreen in the sRGB color space.

fn linen() -> Self

Returns a CSS-compliant named color for linen in the sRGB color space.

fn magenta() -> Self

Returns a CSS-compliant named color for magenta in the sRGB color space.

fn maroon() -> Self

Returns a CSS-compliant named color for maroon in the sRGB color space.

fn mediumaquamarine() -> Self

Returns a CSS-compliant named color for mediumaquamarine in the sRGB color space.

fn mediumblue() -> Self

Returns a CSS-compliant named color for mediumblue in the sRGB color space.

fn mediumorchid() -> Self

Returns a CSS-compliant named color for mediumorchid in the sRGB color space.

fn mediumpurple() -> Self

Returns a CSS-compliant named color for mediumpurple in the sRGB color space.

fn mediumseagreen() -> Self

Returns a CSS-compliant named color for mediumseagreen in the sRGB color space.

fn mediumslateblue() -> Self

Returns a CSS-compliant named color for mediumslateblue in the sRGB color space.

fn mediumspringgreen() -> Self

Returns a CSS-compliant named color for mediumspringgreen in the sRGB color space.

fn mediumturquoise() -> Self

Returns a CSS-compliant named color for mediumturquoise in the sRGB color space.

fn mediumvioletred() -> Self

Returns a CSS-compliant named color for mediumvioletred in the sRGB color space.

fn midnightblue() -> Self

Returns a CSS-compliant named color for midnightblue in the sRGB color space.

fn mintcream() -> Self

Returns a CSS-compliant named color for mintcream in the sRGB color space.

fn mistyrose() -> Self

Returns a CSS-compliant named color for mistyrose in the sRGB color space.

fn moccasin() -> Self

Returns a CSS-compliant named color for moccasin in the sRGB color space.

fn navajowhite() -> Self

Returns a CSS-compliant named color for navajowhite in the sRGB color space.

fn navy() -> Self

Returns a CSS-compliant named color for navy in the sRGB color space.

fn oldlace() -> Self

Returns a CSS-compliant named color for oldlace in the sRGB color space.

fn olive() -> Self

Returns a CSS-compliant named color for olive in the sRGB color space.

fn olivedrab() -> Self

Returns a CSS-compliant named color for olivedrab in the sRGB color space.

fn orange() -> Self

Returns a CSS-compliant named color for orange in the sRGB color space.

fn orangered() -> Self

Returns a CSS-compliant named color for orangered in the sRGB color space.

fn orchid() -> Self

Returns a CSS-compliant named color for orchid in the sRGB color space.

fn palegoldenrod() -> Self

Returns a CSS-compliant named color for palegoldenrod in the sRGB color space.

fn palegreen() -> Self

Returns a CSS-compliant named color for palegreen in the sRGB color space.

fn paleturquoise() -> Self

Returns a CSS-compliant named color for paleturquoise in the sRGB color space.

fn palevioletred() -> Self

Returns a CSS-compliant named color for palevioletred in the sRGB color space.

fn papayawhip() -> Self

Returns a CSS-compliant named color for papayawhip in the sRGB color space.

fn peachpuff() -> Self

Returns a CSS-compliant named color for peachpuff in the sRGB color space.

fn peru() -> Self

Returns a CSS-compliant named color for peru in the sRGB color space.

fn pink() -> Self

Returns a CSS-compliant named color for pink in the sRGB color space.

fn plum() -> Self

Returns a CSS-compliant named color for plum in the sRGB color space.

fn powderblue() -> Self

Returns a CSS-compliant named color for powderblue in the sRGB color space.

fn purple() -> Self

Returns a CSS-compliant named color for purple in the sRGB color space.

fn rebeccapurple() -> Self

Returns a CSS-compliant named color for rebeccapurple in the sRGB color space.

fn red() -> Self

Returns a CSS-compliant named color for red in the sRGB color space.

fn rosybrown() -> Self

Returns a CSS-compliant named color for rosybrown in the sRGB color space.

fn royalblue() -> Self

Returns a CSS-compliant named color for royalblue in the sRGB color space.

fn saddlebrown() -> Self

Returns a CSS-compliant named color for saddlebrown in the sRGB color space.

fn salmon() -> Self

Returns a CSS-compliant named color for salmon in the sRGB color space.

fn sandybrown() -> Self

Returns a CSS-compliant named color for sandybrown in the sRGB color space.

fn seagreen() -> Self

Returns a CSS-compliant named color for seagreen in the sRGB color space.

fn seashell() -> Self

Returns a CSS-compliant named color for seashell in the sRGB color space.

fn sienna() -> Self

Returns a CSS-compliant named color for sienna in the sRGB color space.

fn silver() -> Self

Returns a CSS-compliant named color for silver in the sRGB color space.

fn skyblue() -> Self

Returns a CSS-compliant named color for skyblue in the sRGB color space.

fn slateblue() -> Self

Returns a CSS-compliant named color for slateblue in the sRGB color space.

fn slategray() -> Self

Returns a CSS-compliant named color for slategray in the sRGB color space.

fn slategrey() -> Self

Returns a CSS-compliant named color for slategrey in the sRGB color space.

fn snow() -> Self

Returns a CSS-compliant named color for snow in the sRGB color space.

fn springgreen() -> Self

Returns a CSS-compliant named color for springgreen in the sRGB color space.

fn steelblue() -> Self

Returns a CSS-compliant named color for steelblue in the sRGB color space.

fn tan() -> Self

Returns a CSS-compliant named color for tan in the sRGB color space.

fn teal() -> Self

Returns a CSS-compliant named color for teal in the sRGB color space.

fn thistle() -> Self

Returns a CSS-compliant named color for thistle in the sRGB color space.

fn tomato() -> Self

Returns a CSS-compliant named color for tomato in the sRGB color space.

fn turquoise() -> Self

Returns a CSS-compliant named color for turquoise in the sRGB color space.

fn violet() -> Self

Returns a CSS-compliant named color for violet in the sRGB color space.

fn wheat() -> Self

Returns a CSS-compliant named color for wheat in the sRGB color space.

fn white() -> Self

Returns a CSS-compliant named color for white in the sRGB color space.

fn whitesmoke() -> Self

Returns a CSS-compliant named color for whitesmoke in the sRGB color space.

fn yellow() -> Self

Returns a CSS-compliant named color for yellow in the sRGB color space.

fn yellowgreen() -> Self

Returns a CSS-compliant named color for yellowgreen in the sRGB color space.

Loading content...

Implementors

impl NamedColor for Color[src]

Loading content...