Graphi...es::SVG(3pm)
β¨ Graphics::ColorNames::SVG β¨
okay bestie, gather round, because this is a lil Perl module from the User Contributed Perl Documentation corner of the universe (that's the 3pm section, iykyk) and it's giving β¨aesthetic color namesβ¨ π
π NAME π
Graphics::ColorNames::SVG β SVG color names and their equivalent RGB values π¦
πΈ SYNOPSIS πΈ
require Graphics::ColorNames::SVG;
$NameTable = Graphics::ColorNames::SVG->NamesRgbTable();
$RgbBlack = $NameTable->{black};
like, you pull the name table, you index it by a color name, boom, you got RGB. main character energy fr fr π
π DESCRIPTION π
So this module defines color names and the RGB values that go with them, straight from the SVG 1.2 Specification. iconic of it honestly π
Lowkey important tea though: right now it's just an alias for Graphic::ColorNames::WWW β yes, spelled exactly like that in the source, no I'm not fixing it, it is what it is π β and that could change in the future. So the rec is: just use the WWW module instead, because it will always implement a superset of this one. more colors, no downside, slay π
And if you wanna know how to actually use this module, go read the documentation of Graphics::ColorNames. it's all there, bestie π«Ά
π¦ SEE ALSO π¦
Graphics::ColorNames::WWW- Scalable Vector Graphics (SVG) 1.1 Specification, Section 4.2 (
http://www.w3.org/TR/SVG/types.html#ColorKeywords)
π AUTHOR π
Claus Faerber <CFAERBER@cpan.org> π
π LICENSE π
Copyright 2008-2009 Claus Faerber.
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
so yes, it's Perl-licensed, go wild, but keep the copyright notice, periodt π
and that's the whole vibe check, bestie π this lil doc came from perl v5.28.1, dated 2019-08-21, and it lives in the Graphi...es::SVG(3pm) page β no cap, go forth and name your colors πΈβ¨
π¦ where this page comes from
- debian bookworm: libgraphics-colornames-www-perl 1.14-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgraphics-colornames-www-perl 1.14-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libgraphics-colornames-www-perl 1.14-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgraphics-colornames-www-perl 1.14-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms