RGB to INT