1 package org.simantics.document.server.io;
3 public class RGBColor implements IColor {
6 private final int green;
7 private final int blue;
9 public RGBColor(int red, int green, int blue) {
32 public int hashCode() {
35 result = prime * result + blue;
36 result = prime * result + green;
37 result = prime * result + red;
42 public boolean equals(Object obj) {
47 if (getClass() != obj.getClass())
49 RGBColor other = (RGBColor) obj;
50 if (blue != other.blue)
52 if (green != other.green)