package com.digero.common.view;

import java.awt.Color;

public enum ColorTable {
	NOTE_ON(Color.WHITE), //
	NOTE_ON_BORDER(new Color(0xAA000000, true)), //
	INDICATOR(new Color(0x66FFFFFF, true)), //
	INDICATOR_ACTIVE(new Color(0xAAFFFFFF, true)), //
	OCTAVE_LINE(new Color(0x3C3C3C)), //
	LINK(new Color(0x336699)), //

	NOTE_ENABLED /*      */(Color.getHSBColor(0.12f, 0.77f, 0.90f)), // Color.getHSBColor(0.62f, 0.85f, 1.00f)
	NOTE_DISABLED /*     */(Color.getHSBColor(0.60f, 0.72f, 0.95f)), // Color.getHSBColor(0.60f, 0.80f, 0.80f)
	NOTE_OFF /*          */(Color.getHSBColor(0.62f, 0.00f, 0.50f)), //

	NOTE_BAD_ENABLED /*  */(Color.getHSBColor(0.05f, 1.00f, 1.00f)), //
	NOTE_BAD_DISABLED /* */(Color.getHSBColor(0.95f, 0.65f, 0.75f)), //
	NOTE_BAD_OFF /*      */(Color.getHSBColor(0.00f, 0.00f, 0.70f)), //

	NOTE_ABC_ENABLED /*  */(Color.getHSBColor(0.12f, 0.80f, 0.90f)), //
	NOTE_ABC_DISABLED /* */(Color.getHSBColor(0.12f, 0.60f, 0.75f)), //
	NOTE_ABC_OFF /*      */(Color.getHSBColor(0.12f, 0.00f, 0.50f)), //

	NOTE_DRUM_ENABLED(NOTE_ENABLED), //
	NOTE_DRUM_DISABLED(NOTE_DISABLED), //
	NOTE_DRUM_OFF(NOTE_OFF), //

	GRAPH_BACKGROUND_ENABLED(Color.BLACK), //
	GRAPH_BACKGROUND_DISABLED(new Color(0x222222)), //
	GRAPH_BACKGROUND_OFF(new Color(0x222222)), //

	GRAPH_BORDER_ENABLED(Color.DARK_GRAY), //
	GRAPH_BORDER_DISABLED(Color.DARK_GRAY), //
	GRAPH_BORDER_OFF(Color.DARK_GRAY), //

	PANEL_BACKGROUND_ENABLED(GRAPH_BACKGROUND_ENABLED), //
	PANEL_BACKGROUND_DISABLED(GRAPH_BACKGROUND_DISABLED), //

	PANEL_BORDER(new Color(0xEEEEEE)), //

	PANEL_TEXT_ENABLED(Color.getHSBColor(0.12f, 0.85f, 1.00f)), //
	PANEL_TEXT_DISABLED(new Color(0xEEEEEE)), //
	PANEL_TEXT_OFF(new Color(0x777777)), //
	PANEL_TEXT_ERROR(Color.getHSBColor(0.015f, 0.90f, 1.00f)), //
	PANEL_LINK(Color.getHSBColor(0.60f, 0.70f, 1.00f)), //

	ABC_BORDER_SELECTED_ENABLED(PANEL_TEXT_ENABLED), //
	ABC_BORDER_SELECTED_OFF(PANEL_TEXT_ENABLED), //
	ABC_BORDER_UNSELECTED_ENABLED(GRAPH_BACKGROUND_ENABLED), //
	ABC_BORDER_UNSELECTED_OFF(GRAPH_BACKGROUND_OFF), //

	CONTROLS_TEXT(Color.WHITE), //
	CONTROLS_BACKGROUND(new Color(0x222222));

	private Color value;

	private ColorTable(Color value) {
		this.value = value;
	}

	private ColorTable(ColorTable copyFrom) {
		this.value = copyFrom.value;
	}

	public void set(Color value) {
		this.value = value;
	}

	public Color get() {
		return this.value;
	}

	public String getHtml() {
		return String.format("#%02X%02X%02X", value.getRed(), value.getGreen(), value.getBlue());
	}
}

@@ -376,31 +376,31 @@
 r(0.
+6
 1
-2
 f, 0.7
-7f, 0.9
+5f, 1.0
 0f)), //
  Col
@@ -399,47 +399,8 @@
 , //
- Color.getHSBColor(0.62f, 0.85f, 1.00f)
 %0D%0A%09N
@@ -469,47 +469,8 @@
 , //
- Color.getHSBColor(0.60f, 0.80f, 0.80f)
 %0D%0A%09N
@@ -807,10 +807,10 @@
 , 0.
-80
+77
 f, 0

Change enabled notes back to blue instead of orange