Can I access the color preset by code?

Is there a way I can choose the color preset that can be found in the inspector (at the bottom when you click on the material’s color) by code?

If you are talking about what I think you are then you just create a new script(this is in C#) with gameObject.renderer.material.color = Color.your color; inside the main function or if you want to change it using letters then you can put it in update. the color must be a valid color though, so they don’t all work.