I’ve been tinkering with an idea for a new open source project called NamedColors.
As its name suggests, it’s a list of color values (hex RGB) with associated names. In addition, a number of related “emotions” can be associated with each color.
A Named Color is defined as:
<NamedColor>
<Name>MetroUITeal</Name>
<RGB>00aba9</RGB>
<Emotions>
</Emotions>
</NamedColor>
You can see the current (short) list on GitHub.
The idea is to create a number of projections for use in different programming languages / platforms. For example CSS, Sass, and .NET PCL.
The project is in its early stages at the moment, and I’m not sure what applications people will find for it – it will be interesting to see what happens.
Projections are created using T4 templates.
There are other projections planned, such as a XAML dictionary of colors and brushes.
If anyone has any other ideas for projections feel free to add an issue or send me a pull request – also for adding other named colors.
Eventually for .NET there will be a NuGet PCL available containing all the named colors and way to say “give me a sad color”, etc.
SHARE: