🧩 ThColorPicker
An extension for MIT App Inventor 2.A color picker component developed by TechHamara using Fast, allowing users to select colors with options for alpha, hex, and preview.
Telegram | GitHub
Blogger | YouTube
Find More Extension
Terms & Conditions
Specifications
Package: io.th.thcolorpicker
Size: 28.81 KB
Version: 1.0
Minimum API Level: 21
Updated On: 2025-06-09T18:30:00Z
Built & documented using: FAST v2.8.4
Download Aix here
Download aia, apk on GitHub
Demo
Blocks
Events:
ThColorPicker has total 3 events.
ColorSelected
Event raised when a color is selected
Parameter | Type |
---|---|
color | number |
DialogDismissed
Event raised when the color picker dialog is dismissed
NoneSelected
Event raised when the 'Select None' button is clicked
Methods:
ThColorPicker has total 8 methods.
ShowColorPicker
Shows the color picker dialog
InitialColor
Sets the initial color of the color picker
Parameter | Type |
---|---|
color | number |
SelectedColor
Gets the currently selected color
- Return type:
number
SelectedColorHex
Gets the hex code of the selected color
- Return type:
text
SelectedColorARGB
Gets the ARGB components of the selected color
- Return type:
any
SelectedColorHSV
Gets the HSV components of the selected color
- Return type:
any
ColorFromHSV
Sets a color from HSV values
Parameter | Type |
---|---|
hue | number |
saturation | number |
value | number |
ColorFromARGB
Sets a color from ARGB values
Parameter | Type |
---|---|
alpha | number |
red | number |
green | number |
blue | number |
Setters:
ThColorPicker has total 3 setter properties.
ShowPreview
Sets whether to show the color preview
- Input type:
boolean
SelectNoneButtonText
Sets the text for the 'Select None' button
- Input type:
text
DefaultColor
Sets the default color to use when 'Select None' is clicked
- Input type:
number
Getters:
ThColorPicker has total 3 getter properties.
ShowPreview
Sets whether to show the color preview
- Return type:
boolean
SelectNoneButtonText
Sets the text for the 'Select None' button
- Return type:
text
DefaultColor
Sets the default color to use when 'Select None' is clicked
- Return type:
number
Feel free to contact us any quarry or suggestions.
Library Used
Thank you martin-stone for your awesome library