making rgb colors in c# unity code example
Example: how to change the color of an object in unity c# rgb
void Update ()
{
if(Input.GetKeyDown(KeyCode.R))
{
gameObject.GetComponent<Renderer>().material.color = new Color(233, 79, 55);
}
}