Crate named_colour

Source
Expand description

Provides Hex Codes for colours:

  • enums that return a hex code string for named colours
  • rgb colour struct to configure a colour an rgb colour and display as decimal or hex

§Examples

§Use Basic colour

 [dependencies]
 named-colour = "0.3.16"

Re-exports§

pub use ext::name_colour;
pub use ext::random_named_colour;
pub use ext::Black;
pub use ext::Blue;
pub use ext::Brown;
pub use ext::Cyan;
pub use ext::ExtendedColour;
pub use ext::Green;
pub use ext::Purple;
pub use ext::Red;
pub use ext::White;
pub use ext::Yellow;

Modules§

ext
Extended named colours providing shades collected in enums for the main colour

Enums§

Prefix
Prefixes

Traits§

ToHex
Implement the ToHex trait

Type Aliases§

RGB8
8-bit RGB
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy