Skip to content

io7m-com/jcolorspace

Repository files navigation

jcolorspace

Maven Central Maven Central (snapshot) Codecov Java Version

com.io7m.jcolorspace

JVM Platform Status
OpenJDK (Temurin) Current Linux Build (OpenJDK (Temurin) Current, Linux)
OpenJDK (Temurin) LTS Linux Build (OpenJDK (Temurin) LTS, Linux)
OpenJDK (Temurin) Current Windows Build (OpenJDK (Temurin) Current, Windows)
OpenJDK (Temurin) LTS Windows Build (OpenJDK (Temurin) LTS, Windows)

jcolorspace

The jcolorspace package provides a set of functions for converting between color spaces.

Features

  • HSV/RGB conversion functions.
  • Phantom-typed color vectors for static safety.
  • High coverage test suite.
  • OSGi-ready
  • JPMS-ready
  • ISC license.

Usage

Use the HSV and RGB classes to convert between color vectors in different color spaces.

A demo application is included that demonstrates the results of color conversions.

ColorDemo