Skip to content

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

License

Notifications You must be signed in to change notification settings

peteroupc/colorvalidator

Repository files navigation

ColorValidator

NuGet Status Maven Central

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.

How to Install

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.

Documentation

See the Java API documentation.

See the C# (.NET) API documentation.

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/

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published