Resolve a color to a 6-character uppercase hex string without #.
Named color presets are mapped via ACCENT_COLOR_PRESET_HEX_MAP, raw #RRGGBB
hex strings are normalized (stripped of # and uppercased).
Note: schema validation errors are non-fatal in the CLI build pipeline, so
a malformed value may still reach the renderers; in that case we return
null and fall back to the template default instead of emitting broken
engine code.
Resolve a color to a 6-character uppercase hex string without
#.Named color presets are mapped via
ACCENT_COLOR_PRESET_HEX_MAP, raw#RRGGBBhex strings are normalized (stripped of#and uppercased).Note: schema validation errors are non-fatal in the CLI build pipeline, so a malformed value may still reach the renderers; in that case we return
nulland fall back to the template default instead of emitting broken engine code.