Code/HierarchyColor.cs
using Sandbox;

namespace SubHierarchy;

/// <summary>
/// Marks a GameObject with a Hierarchy row tint color (editor organization).
/// </summary>
[Title( "Hierarchy Color" )]
[Category( "Editor" )]
[Icon( "palette" )]
public sealed class HierarchyColor : Component
{
	/// <summary>Background tint drawn behind the object name in the Hierarchy.</summary>
	[Property]
	public Color Tint { get; set; } = new Color( 0.2f, 0.55f, 0.95f, 1f );
}