Maybe it's simple for you programmers. However, for someone who learns it is incomprehensible and not logical. Why are colors not presented everywhere like in the designer? Different in designer, different in blocks, and it makes a lot of confusion. After copying a component with a set color, we get the "BackgroundColor": "& HFFD4D4D4". It is in the form of a hex. Why all this confusion with decimals? I made a simple program to convert hex color to dec32 and dec64. Hex format: OPACITY R G B. Color_decoder.aia (3.2 KB)
I understand it. What form are colors described in java? As you know from another topic, I am using the dynamic component extension. Willing to use templates, I ran into a few problems with appinventor. The first is with colors. Although appinventor exports colors to an SCM file in RGB form, it does not accept them in RGB form. Second thing, appinventor exports property values such as FontBold or FontSize as string values "12", "true" etc. But it takes values without "" that is 12, true etc. Therefore, I write that there are many illogical things here: D.