// Get the color code string code = hex( getColorCode(color) ); code = formatColorCode(code);