EditorWindow texture effected by Playmode Color Tint

I’m draw empty texture with GUI.DrawTexture(rect, EditorGUIUtility.whiteTexture) and change it’s colour with GUI.color. This rectangle colour is not affected by Olaymode Color Tint:

var defColor = GUI.color;
 GUI.color = EditorGUIUtility.isProSkin
     ? (Color)new Color32(56, 56, 56, 255)
     : (Color)new Color32(194, 194, 194, 255);
 
 GUI.DrawTexture(selectionRect, EditorGUIUtility.whiteTexture);
 GUI.color = defColor;

How to draw texture to make it tinted in playmode?

GUI.color doesn’t affect content, only GUIStyles. So you can create a GUIStyle with that texture:

var style = new GUIStyle("box");  // copy "box" style
style.normal.background = EditorGUIUtility.whiteTexture;
GUI.Label(selectionRect, GUIContent.none, style);

instead of

GUI.DrawTexture(selectionRect, EditorGUIUtility.whiteTexture);