Hello everyone!
Today I am thrilled to introduce my very very first extension
This extension will help you creating colors.
there are currently 5 methods.
The above block generates a random color.
How to Use:
Thanks for you're contribution, it's a great start
However, you may need to change the naming conventions of you're blocks. (Example HexColorCode should be hexColorCode) as followed by the lowerCamelCase
please update your extension according to the naming conventions now, because everyone who will use it will have to change the updated blocks.... the earlier you change it, the less work others will have to do with the extension...
`Color_Exstension
let me suggest to rename the extension to just Color...
great
however it looks like you are still using the old package name with the underscore and the spelling error?
also please edit your first thread and update the screenshots... thank you...
Congratulations on making your first App Inventor Extension. Remember that it is your responsibility to maintain it and keep it up-to-date with the changes brought in by new App Inventor versions.... even if that means announcing that it is incompatible.
The situation where that might be required is to carry across a colour specified in the Designer to the Blocks. However, how would this work in practice?
Designer uses 32bit Hex, (RGBA) your example is 24bit Hex (RGB) -if a developer inputs 32bit Hex the result will be wrong. A hex value from the Designer is probably the most common conversion needed.
Change this block to take hex values from the text field e.g. # 00FF00FF or # 00FF00 and automatically verify whether the color is 24 bit or 32 bit, then it will make little sense.