Download the PHP package brio/named-colors without Composer
On this page you can find all versions of the php package brio/named-colors. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download brio/named-colors
More information about brio/named-colors
Files in brio/named-colors
Download brio/named-colors
More information about brio/named-colors
Files in brio/named-colors
Vendor brio
Package named-colors
Short Description Find a color's hexadecimal value from its name
License MIT
Package named-colors
Short Description Find a color's hexadecimal value from its name
License MIT
Please rate this library. Is it a good library?
Informations about the package named-colors
NamedColors
Find a color's hexadecimal value from its name.
This library does not only list all the HTML colors, but also :
- Australian Independent Colour Standard (AS 2700)
- Some major brands color (Google, Netflix, Facebook, etc)
- Federal Standard 595 colors
- ISCC–NBS system colors
- Natural Color System colors
- RAL colour standard colors
- Resene colors
- X11 colors
- and some other colors (Crayola colors, food colors, and even XKCD's colors from its 2010 survey)
Installation
With composer :
Usage
Contributing
Feel free to add your own color schemes, as soon as they meet these requirements :
- All colors schemes should be created in the
src/colors
directory - They must only contain one array, named
$colors
- Each item of this array must have one key, and these three values :
- reference
- name
- hexa
- The key should be a camelCase version of the color's name
reference
andname
are not mandatory- The
hexa
key is mandatory, it should contain the hexadecimal value of the color, prefixed with a sharp (#
).
Credit
The first release's colors all come from the W3Schools website, thanks to them !
All versions of named-colors with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package brio/named-colors contains the following files
Loading the files please wait ....