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: 5 months ago
JSON representation
Functions for server-side validation of CSS colors, in PHP, Python, Ruby, C#, and Java. In the public domain.
- Host: GitHub
- URL: https://github.com/peteroupc/colorvalidator
- Owner: peteroupc
- License: unlicense
- Created: 2012-10-29T03:48:55.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2025-01-28T01:52:24.000Z (over 1 year ago)
- Last Synced: 2025-03-27T12:11:11.707Z (over 1 year ago)
- Language: C#
- Homepage:
- Size: 441 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
ColorValidator
=======
[](https://www.nuget.org/packages/PeterO.ColorValidator)
[](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/)