hex2int static method
Converts a hex string to an integer.
Implementation
static int hex2int(hex) {
final List<int> rgb = hex2rgb(hex);
return rgb2int(rgb[0], rgb[1], rgb[2]);
}
Converts a hex string to an integer.
static int hex2int(hex) {
final List<int> rgb = hex2rgb(hex);
return rgb2int(rgb[0], rgb[1], rgb[2]);
}