28 lines
376 B
Java
28 lines
376 B
Java
package jxl.format;
|
|
|
|
public final class RGB {
|
|
private int red;
|
|
|
|
private int green;
|
|
|
|
private int blue;
|
|
|
|
public RGB(int r, int g, int b) {
|
|
this.red = r;
|
|
this.green = g;
|
|
this.blue = b;
|
|
}
|
|
|
|
public int getRed() {
|
|
return this.red;
|
|
}
|
|
|
|
public int getGreen() {
|
|
return this.green;
|
|
}
|
|
|
|
public int getBlue() {
|
|
return this.blue;
|
|
}
|
|
}
|