[Plugin] Color Picker

Post your completed addons to share with the community

Post » Mon Jun 09, 2014 6:00 am

COLOR PICKER
An input element with type=color attribute.

Conditions :
  1. On click
  2. On change

Actions :
  1. Set Value (R,G,B)
  2. Open

Expressions :
  1. getRGB
  2. getHEX
  3. R
  4. G
  5. B



Plugin
Example
capx Be sure to check for support, as it's not widely supported yet
Last edited by Noncentz705 on Mon Jun 09, 2014 7:46 am, edited 1 time in total.
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Mon Jun 09, 2014 6:21 am

Isn't a DOM element?
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Mon Jun 09, 2014 6:37 am

It's an input element with type='color' attribute. A Color chooser might be a better choice of words since color a picker is generally an analogy to grabbing a color from another source. At the moment there's no support for ie due to lack of implementation. There's a simple drawing example provided.
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Mon Jun 09, 2014 8:13 am

I had made a behavior for official text box object which do the same thing.
http://c2rexplugins.weebly.com/rex_textbox_color.html

and a date picker.
http://c2rexplugins.weebly.com/rex_textbox_date.html


A standalone color picker plugin might be more easy to use I guess.
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Mon Jun 09, 2014 8:23 am

sorry I hadn't realized. I made the plugin because I couldn't do what i wanted with ExecuteJs.
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Mon Jun 09, 2014 8:47 am

Uh, nothing. Good work!
B
108
S
26
G
272
Posts: 4,472
Reputation: 152,279

Post » Thu Mar 30, 2017 3:01 am

If anyone is still using this plugin I have a new download link:
https://www.dropbox.com/s/j6syv1smbgv6k ... addon?dl=1
Check out my online game Space Arena at space-arena.com!
B
61
S
24
G
7
Posts: 36
Reputation: 7,783

Post » Thu Mar 30, 2017 12:44 pm

The plugin doesn't work with Save states :(
B
37
S
11
G
6
Posts: 962
Reputation: 11,259

Post » Sat Jul 08, 2017 11:35 am

Thanks a lot @Noncentz705 & @austinblackbelt for this plugin

I was just found out it works on android if anyone was wondering!!
B
17
S
6
Posts: 91
Reputation: 1,388


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 5 guests