RGB value get from pixel
Framework of the mapping algorithm