Download source code: ZIP file
Functions for server-side validation of CSS colors, in several popular server languages. Currently available for PHP, Python, Ruby, C#, and Java. In the public domain.
The C# implementation is expected to be available in the
NuGet Package Gallery under the name
PeterO.ColorValidator. To install
this library as a NuGet package, enter Install-Package PeterO.ColorValidator
in the
NuGet Package Manager Console.
The Java implementation is expected to be available
as an artifact in the Central Repository. To add this library to a Maven
project, add the following to the dependencies
section in your pom.xml
file:
<dependency>
<groupId>com.github.peteroupc</groupId>
<artifactId>colorvalidator</artifactId>
<version>1.0.0</version>
</dependency>
In other Java-based environments, the library can be referred to by its
group ID (com.github.peteroupc
), artifact ID (colorvalidator
), and version, as given earlier.
See the Java API documentation.
See the C# (.NET) API documentation.
None at the moment.
Version 1.0.0:
- First release.
Written by Peter O.
Any copyright to this work is released to the Public Domain. In case this is not possible, this work is also licensed under the Unlicense: https://unlicense.org/