how to set a gizmo color unity

C#
void OnDrawGizmos(){
     Gizmos.color = Color.red;
}
Source

Also in C#: