diff --git a/Source/Editor/CustomEditors/CustomEditor.cs b/Source/Editor/CustomEditors/CustomEditor.cs index e681127fd..f2a69fa07 100644 --- a/Source/Editor/CustomEditors/CustomEditor.cs +++ b/Source/Editor/CustomEditors/CustomEditor.cs @@ -619,6 +619,13 @@ namespace FlaxEditor.CustomEditors JsonSerializer.ParseID(text, out var id); obj = FlaxEngine.Object.Find(ref id); } + else if (Color.TryParseHex(text, out var color)) + { + // Hex color + obj = color; + if (Values.Type.Type == typeof(Color32)) + obj = (Color32)color; + } else { // Default