Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peteroupc/colorvalidator

Functions for server-side validation of CSS colors, in PHP, Python, Ruby, C#, and Java. In the public domain.
https://github.com/peteroupc/colorvalidator

Last synced: 18 days ago
JSON representation

Functions for server-side validation of CSS colors, in PHP, Python, Ruby, C#, and Java. In the public domain.

Awesome Lists containing this project

README

        

ColorValidator
=======

[![NuGet Status](http://img.shields.io/nuget/v/PeterO.ColorValidator.svg?style=flat)](https://www.nuget.org/packages/PeterO.ColorValidator)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.peteroupc/colorvalidator.svg?style=plastic)](https://search.maven.org/#search|ga|1|g%3A%22com.github.peteroupc%22%20AND%20a%3A%22colorvalidator%22)

**Download source code: [ZIP file](https://github.com/peteroupc/MailLib/archive/master.zip)**

----

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.

How to Install
---------
The C# implementation is expected to be available in the
NuGet Package Gallery under the name
[PeterO.ColorValidator](https://www.nuget.org/packages/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](https://search.maven.org/#search|ga|1|g%3A%22com.github.peteroupc%22%20AND%20a%3A%22colorvalidator%22) in the Central Repository. To add this library to a Maven
project, add the following to the `dependencies` section in your `pom.xml` file:


com.github.peteroupc
colorvalidator
1.0.0

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.

Documentation
------------

**See the [Java API documentation](https://peteroupc.github.io/ColorValidator/api/).**

**See the [C# (.NET) API documentation](https://peteroupc.github.io/ColorValidator/docs/).**

Examples
-------------

None at the moment.

History
-----------

Version 1.0.0:

- First release.

About
-----------

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/](https://unlicense.org/)