test_class.declarator: COLOR_HEXSTRING_MAP = new HashMap<Color, String>()
  	{{
  		put(Color.BLACK, "000000");
  		put(new Color(0x1), "000001");
  		put(new Color(0x100000), "100000");
  		put(Color.RED, "ff0000");
  		put(Color.GREEN, "00ff00");
  		put(Color.BLUE, "0000ff");
  		put(new Color(0xA1B2C3), "a1b2c3");
  		put(Color.WHITE, "ffffff");
  	}}
test_class.modifier: private static final
test_class.original_string: private static final Map<Color, String> COLOR_HEXSTRING_MAP = new HashMap<Color, String>()
  	{{
  		put(Color.BLACK, "000000");
  		put(new Color(0x1), "000001");
  		put(new Color(0x100000), "100000");
  		put(Color.RED, "ff0000");
  		put(Color.GREEN, "00ff00");
  		put(Color.BLUE, "0000ff");
  		put(new Color(0xA1B2C3), "a1b2c3");
  		put(Color.WHITE, "ffffff");
  	}};
test_class.type: Map<Color, String>
test_class.var_name: COLOR_HEXSTRING_MAP
test_class.file: runelite-client/src/test/java/net/runelite/client/util/ColorUtilTest.java
test_class.identifier: ColorUtilTest
test_case.body: @Test
  	public void colorToHexCode()
  	{
  		COLOR_HEXSTRING_MAP.forEach((color, hex) ->
  		{
  			assertEquals(hex, ColorUtil.colorToHexCode(color));
  		});
  	}
test_case.class_method_signature: ColorUtilTest.colorToHexCode()
test_case.full_signature: @Test public void colorToHexCode()
test_case.identifier: colorToHexCode
test_case.invocations: forEach assertEquals colorToHexCode
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void colorToHexCode()
focal_class.declarator: MAX_RGB_VALUE = 255
focal_class.modifier: public static final
focal_class.original_string: public static final int MAX_RGB_VALUE = 255;
focal_class.type: int
focal_class.var_name: MAX_RGB_VALUE
focal_class.declarator: MIN_RGB_VALUE = 0
focal_class.modifier: public static final
focal_class.original_string: public static final int MIN_RGB_VALUE = 0;
focal_class.type: int
focal_class.var_name: MIN_RGB_VALUE
focal_class.declarator: OPENING_COLOR_TAG_START = "<col="
focal_class.modifier: private static final
focal_class.original_string: private static final String OPENING_COLOR_TAG_START = "<col=";
focal_class.type: String
focal_class.var_name: OPENING_COLOR_TAG_START
focal_class.declarator: OPENING_COLOR_TAG_END = ">"
focal_class.modifier: private static final
focal_class.original_string: private static final String OPENING_COLOR_TAG_END = ">";
focal_class.type: String
focal_class.var_name: OPENING_COLOR_TAG_END
focal_class.declarator: CLOSING_COLOR_TAG = "</col>"
focal_class.modifier: public static final
focal_class.original_string: public static final String CLOSING_COLOR_TAG = "</col>";
focal_class.type: String
focal_class.var_name: CLOSING_COLOR_TAG
focal_class.declarator: ALPHA_HEX_PATTERN = Pattern.compile("^(#|0x)?[0-9a-fA-F]{7,8}")
focal_class.modifier: private final static
focal_class.original_string: private final static Pattern ALPHA_HEX_PATTERN = Pattern.compile("^(#|0x)?[0-9a-fA-F]{7,8}");
focal_class.type: Pattern
focal_class.var_name: ALPHA_HEX_PATTERN
focal_class.declarator: HEX_PATTERN = Pattern.compile("^(#|0x)?[0-9a-fA-F]{1,8}")
focal_class.modifier: private final static
focal_class.original_string: private final static Pattern HEX_PATTERN = Pattern.compile("^(#|0x)?[0-9a-fA-F]{1,8}");
focal_class.type: Pattern
focal_class.var_name: HEX_PATTERN
focal_class.file: runelite-client/src/main/java/net/runelite/client/util/ColorUtil.java
focal_class.identifier: ColorUtil
focal_class.class_method_signature: ColorUtil.colorTag(Color color)
focal_class.full_signature: public static String colorTag(Color color)
focal_class.identifier: colorTag
focal_class.modifiers: public static
focal_class.parameters: (Color color)
focal_class.return: String
focal_class.signature: String colorTag(Color color)
focal_class.class_method_signature: ColorUtil.prependColorTag(final String str, final Color color)
focal_class.full_signature: public static String prependColorTag(final String str, final Color color)
focal_class.identifier: prependColorTag
focal_class.modifiers: public static
focal_class.parameters: (final String str, final Color color)
focal_class.return: String
focal_class.signature: String prependColorTag(final String str, final Color color)
focal_class.class_method_signature: ColorUtil.wrapWithColorTag(final String str, final Color color)
focal_class.full_signature: public static String wrapWithColorTag(final String str, final Color color)
focal_class.identifier: wrapWithColorTag
focal_class.modifiers: public static
focal_class.parameters: (final String str, final Color color)
focal_class.return: String
focal_class.signature: String wrapWithColorTag(final String str, final Color color)
focal_class.class_method_signature: ColorUtil.toHexColor(final Color color)
focal_class.full_signature: public static String toHexColor(final Color color)
focal_class.identifier: toHexColor
focal_class.modifiers: public static
focal_class.parameters: (final Color color)
focal_class.return: String
focal_class.signature: String toHexColor(final Color color)
focal_class.class_method_signature: ColorUtil.colorLerp(final Color a, final Color b, final double t)
focal_class.full_signature: public static Color colorLerp(final Color a, final Color b, final double t)
focal_class.identifier: colorLerp
focal_class.modifiers: public static
focal_class.parameters: (final Color a, final Color b, final double t)
focal_class.return: Color
focal_class.signature: Color colorLerp(final Color a, final Color b, final double t)
focal_class.class_method_signature: ColorUtil.colorToHexCode(final Color color)
focal_class.full_signature: public static String colorToHexCode(final Color color)
focal_class.identifier: colorToHexCode
focal_class.modifiers: public static
focal_class.parameters: (final Color color)
focal_class.return: String
focal_class.signature: String colorToHexCode(final Color color)
focal_class.class_method_signature: ColorUtil.colorToAlphaHexCode(final Color color)
focal_class.full_signature: public static String colorToAlphaHexCode(final Color color)
focal_class.identifier: colorToAlphaHexCode
focal_class.modifiers: public static
focal_class.parameters: (final Color color)
focal_class.return: String
focal_class.signature: String colorToAlphaHexCode(final Color color)
focal_class.class_method_signature: ColorUtil.isAlphaHex(String hex)
focal_class.full_signature: public static boolean isAlphaHex(String hex)
focal_class.identifier: isAlphaHex
focal_class.modifiers: public static
focal_class.parameters: (String hex)
focal_class.return: boolean
focal_class.signature: boolean isAlphaHex(String hex)
focal_class.class_method_signature: ColorUtil.isHex(String hex)
focal_class.full_signature: public static boolean isHex(String hex)
focal_class.identifier: isHex
focal_class.modifiers: public static
focal_class.parameters: (String hex)
focal_class.return: boolean
focal_class.signature: boolean isHex(String hex)
focal_class.class_method_signature: ColorUtil.constrainValue(int value)
focal_class.full_signature: public static int constrainValue(int value)
focal_class.identifier: constrainValue
focal_class.modifiers: public static
focal_class.parameters: (int value)
focal_class.return: int
focal_class.signature: int constrainValue(int value)
focal_class.class_method_signature: ColorUtil.fromString(String string)
focal_class.full_signature: public static Color fromString(String string)
focal_class.identifier: fromString
focal_class.modifiers: public static
focal_class.parameters: (String string)
focal_class.return: Color
focal_class.signature: Color fromString(String string)
focal_class.class_method_signature: ColorUtil.fromHex(String hex)
focal_class.full_signature: public static Color fromHex(String hex)
focal_class.identifier: fromHex
focal_class.modifiers: public static
focal_class.parameters: (String hex)
focal_class.return: Color
focal_class.signature: Color fromHex(String hex)
focal_class.class_method_signature: ColorUtil.fromObject(@Nonnull final Object object)
focal_class.full_signature: public static Color fromObject(@Nonnull final Object object)
focal_class.identifier: fromObject
focal_class.modifiers: public static
focal_class.parameters: (@Nonnull final Object object)
focal_class.return: Color
focal_class.signature: Color fromObject(@Nonnull final Object object)
focal_method.body: public static String colorToHexCode(final Color color)
  	{
  		return String.format("%06x", color.getRGB() & 0xFFFFFF);
  	}
focal_method.class_method_signature: ColorUtil.colorToHexCode(final Color color)
focal_method.full_signature: public static String colorToHexCode(final Color color)
focal_method.identifier: colorToHexCode
focal_method.invocations: format getRGB
focal_method.modifiers: public static
focal_method.parameters: (final Color color)
focal_method.return: String
focal_method.signature: String colorToHexCode(final Color color)