class ColorimetricColor {

  public ColorSlice getSlice(ColorReferenceSystem crs) {
    ColorSlice sliceColor = null;
    if (crs != null) {
      List<ColorWheel> wheels = crs.getWheels();
      for (ColorWheel wheel : wheels) {
        List<ColorSlice> slices = wheel.getSlices();
        for (ColorSlice slice : slices) {
          List<ColorimetricColor> colors = slice.getColors();
          for (ColorimetricColor color : colors) {
            if (this.equals(color)) {
              sliceColor = slice;
            }
          }
        }
      }
    }
    return sliceColor;
  }

  public  ColorimetricColor();
  public  ColorimetricColor(int idColor);
  public  ColorimetricColor(String hue, int lightness);
  public  ColorimetricColor(String usualName);
  public  ColorimetricColor(int r, int g, int b);
  public  ColorimetricColor(int r, int g, int b, boolean reference);
  public  ColorimetricColor(Color c);
  public  ColorimetricColor(Color c, boolean reference);
  public  ColorimetricColor(float l, float a, float b);
  public  ColorimetricColor(float[] lab);

}