package kaka.cakelight;
public class Color {
+ public static final Color BLACK = Color.rgb(0, 0, 0);
+
private static int[] gammaCorrection = new int[256];
public static void calculateGammaCorrection(double gamma) {
(int)(b * invertedValue + other.b * value)
);
}
+
+ @Override
+ public String toString() {
+ return "Color{r=" + r + ", g=" + g + ", b=" + b + "}";
+ }
}