In RM 5.1, when using "Set Color" to "Random Color" with the "Generic Zigbee RGBW Light" driver, the random number generated is always in the range 0-99, even when the device being set has "Enable Hue in degrees (0-360)" selected.
I don't think an app can tell this preference has been set for a device. And, the standard for hue is 0..100. You get some 'extra' resolution for Hue using that preference, but realistically, that extra resolution is not visibly discernible. So my suggestion is that if you want random color, don't use that preference for the device.
I've also discovered that neither the little color swatch showing the current value of a color in the RM "Define a Rule" "Select Actions to Run" area nor the "colorName" device attribute respect the "0-360" selection - they both show the color or name that would be correct on the 0-100 scale.
As suggested, I've switched back to 0-100 for all RGBW devices. Thanks!
As far as I'm concerned, that feature should never have been added to those drivers. It's non-standard, and results in problems when used.