See here for the Amlogic addon for Kodi.
It can display display mode, color range, color space, color depth etc. if you press ‘o’.
[https://github.com/roidy/script.amlogic.colorformat/blob/master/default.py]
https://github.com/roidy/script.amlogic.colorformat
More info
https://discourse.coreelec.org/t/amlogic-color-space-depth-information-addon/4675
Someone know how to get similar values for RK3399?
Maybe from /sys/class/display/hdmi/* files and incorporate it into such an addon?