+ Added help and error text

This commit is contained in:
Matthew Cech
2019-06-18 01:01:40 -07:00
parent 4946c6b4b8
commit 6f1881c65f
3 changed files with 32 additions and 8 deletions
+19
View File
@@ -10,6 +10,23 @@ public class NetworkTheColorAPI
{
private static final Gson jsonParser = new Gson();
public class tca_XYZ
{
// This is also known as the CIE 1931 colorspace.
// Value meanings: https://en.wikipedia.org/wiki/CIE_1931_color_space
public int X;
public int Y;
public int Z;
}
public class tca_cymk
{
public int c; // 0-100
public int m; // 0-100
public int y; // 0-100
public int k; // 0-100
}
public class tca_name
{
public String value; // The name of the color in english
@@ -50,6 +67,8 @@ public class NetworkTheColorAPI
public tca_rgb rgb;
public tca_hsl hsl;
public tca_hsv hsv;
public tca_cymk cmyk;
public tca_XYZ XYZ;
}
public ColorData LookupHex(String hex)