OnStart:
ClearCollect(ColorScheme,{MainColor:"#003367",SecondaryColor:RGBA(0,51,103,1)});
Fill:
ColorValue(First(ColorScheme.MainColor))
or
First(ColorScheme.SecondaryColor)
I just didn't see what is the problem, here is the error msg "The property on this control expects color values the rule produces record values which are incompatible". It seems that First(ColorScheme.MainColor) is a record type, but I see no way to convert it to Text or Color type. My goal is to create a color scheme for my apps, can somebody help me?