Get contrasted value of a RGB color