1 package kaka.cakelight;
6 public static Color rgb(int r, int g, int b) {
26 public Color interpolate(Color other, double value) {
27 double invertedValue = 1 - value;
29 (int)(r * invertedValue + other.r * value),
30 (int)(g * invertedValue + other.g * value),
31 (int)(b * invertedValue + other.b * value)