Elgato has a simple and useful approach to reduce USB and HDMI cable confusion: listing the important information on the connector itself.

https://www.theverge.com/2023/11/6/23948486/usb-c-cables-marking-speed-power-delivery-elgato