Graphic...s::HTML(3)

πŸ“¦
version 3.3.1 Β· 2 versions
, in fedora 43

πŸ’– Graphics::ColorNames::HTML β€” the manual, but make it cute πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation manual (that's the Graphic...s::HTML(3) bit, the name got truncated like my attention span). It's about Graphics::ColorNames::HTML, which is the module that knows all your HTML color names and their RGB values. iconic behavior honestly.


✨ NAME ✨

Graphics::ColorNames::HTML β€” HTML color names and equivalent RGB values 🎨


🌸 VERSION 🌸

version v3.3.1 β€” yes she's got a version, she's official


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole vibe, copy-paste ready:

require Graphics::ColorNames::HTML;

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

so you call NamesRgbTable(), you get a hashref, you index into it like {black} and boom πŸ’₯ you got your RGB. no cap.


πŸ’… DESCRIPTION πŸ’…

This module defines color names and their associated RGB values from the HTML 4.0 Specification. that's the whole job. she does one thing and she does it well 🫢

⚠️ GIRL WAIT. This module is deprecated. Like, officially. You should use Graphics::ColorNames::WWW instead. not me telling you to move on but… move on bestie 😭

πŸ™ˆ KNOWN ISSUES πŸ™ˆ

okay so tea time β˜• In versions prior to 1.1, "fuchsia" was misspelled "fuscia". iconic typo honestly. And the way it happened?? This mispelling came from un unidentified HTML specification (yes, un unidentified, that's how the original says it, we're keeping the lore intact πŸ’€). It also appears to be a common misspelling β€” so rather than change it, the proper spelling was added. Both spellings live in harmony now. we love a redemption arc ✨


🌈 SEE ALSO 🌈

  • Graphics::ColorNames β€” the mothership, go look at her πŸ‘‘

πŸŽ€ SOURCE πŸŽ€

The development version is on github at <https://github.com/robrwo/Graphics-ColorNames-HTML> and may be cloned from <git://github.com/robrwo/Graphics-ColorNames-HTML.git> β€” go forth and git clone, it's giving open source royalty πŸ’œ


πŸ“ BUGS πŸ“

Please report any bugs or feature requests on the bugtracker website <https://github.com/robrwo/Graphics-ColorNames-HTML/issues> πŸ›

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. fr fr, don't just show up with vibes β€” bring receipts πŸ“


πŸ‘‘ AUTHOR πŸ‘‘

Robert Rothenberg <rrwo@cpan.org> β€” the icon, the legend, the author πŸ’–


Robert Rothenberg has dedicated the work to the Commons by waiving all of his or her rights to the work worldwide under copyright law and all related or neighboring legal rights he or she had in the work, to the extent allowable by law.

Works under CC0 do not require attribution. When citing the work, you should not imply endorsement by the author. so like, use it freely, just don't pretend he said yes to your thing when he didn't πŸ™…β™€οΈ


and that's the whole page bestie!! 🫢 generated by perl v5.42.0, dated 2025-07-25 β€” she's a 2025 girlie through and through. stay colorful, stay deprecated-but-loved, mwah πŸ’‹

πŸ“¦ where this page comes from