References

What perceptually uniform colorspaces are and why you should be using them:

Functions in this library were mostly implemented according to: