Graphi...es::CSS(3pm)

πŸ“¦
version 1.14 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– NAME πŸ’–

Graphics::ColorNames::CSS β€” bestie, it's the CSS color names and their matching RGB values ✨


🌈 SYNOPSIS 🌈

okay so like, here's how you actually use it:

require Graphics::ColorNames::CSS;

$NameTable = Graphics::ColorNames::CSS->NamesRgbTable();
$RgbBlack  = $NameTable->{black};

that's it. that's the whole vibe 🫢


✨ DESCRIPTION ✨

So this module defines color names and all their lil RGB values, and it pulls them straight from the CSS Color Module Level 3 W3C Working Draft of 2008-07-21. vintage. iconic. no cap πŸ’…

okay important tea πŸ«– β€” right now it's literally just an alias for Graphic::ColorNames::WWW. Like, currently. That may change in the future though, so don't get too attached.

fr fr, the recommendation is to use the WWW module instead, because that one will always implement a superset of this module. so it's giving "why use the smaller one when the bigger one exists" energy πŸ‘‘

And if you wanna know how to actually use this module, go read the documentation of Graphics::ColorNames. it's got the instructions, i'm just the color girlie πŸŽ€


πŸ‘€ SEE ALSO πŸ‘€

  • Graphics::ColorNames::WWW β€” the upgrade path, the main character, the one you probably want 🌟
  • CSS Color Module Level 3 (http://w3.org/TR/CSS3-color) β€” where all these names originally came from, the source material, the blueprint πŸ’œ

🫢 AUTHOR 🫢

Claus Faerber <CFAERBER@cpan.org> β€” thank u for ur service king 🫑


πŸ“œ LICENSE πŸ“œ

Copyright 2005-2009 Claus Faerber.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt πŸ’…


and that's the whole page bestie!! this was perl v5.28.1, dated 2019-08-21, and it's the Graphi...es::CSS(3pm) manual β€” slay, go forth and name some colors πŸŒΈπŸ’–βœ¨

πŸ“¦ where this page comes from