I don't see how using a color name or its hex representation would in any way impact interaction with OS themes; they're both a static color.