console_color

The 256 Xterm colours as a Dart enum

A Dart enum with one member per Xterm palette entry, each documented with its hex, RGB and HSL values. Its code getter returns the number a terminal expects.

MaintenancePersonalOpen source

Record

Kind
Package
Role
Author
Started
March 2022
Updated
April 2022
Licence
BSD-3-Clause
pub
console_color

Technology2

Evidence6 sources

The repository's LICENSE is BSD 3-Clause, copyright 2022 Kato Shinyalicencegithub.com The library is a single enum of 256 members whose code getter returns the member's index, so the value handed to the terminal is the Xterm palette number itselfsourcegithub.com Every member carries its hex, RGB and HSL values in its doc comment, matching the 256-entry palette table committed as resource.jsonsourcegithub.com The pubspec declares no runtime dependencies at all — lints and test are its only entries and both are dev dependenciessourcegithub.com pub.dev lists six supported platforms — Android, iOS, Linux, macOS, Web and Windowspackagepub.dev pub.dev records no publisher for this package and names the uploader unverifiedregistrypub.dev

Links2