[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,600

Post » Mon Jun 09, 2014 6:21 am

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

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,600

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.
Goodbye
B
114
S
31
G
295
Posts: 4,549
Reputation: 164,608

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,600

Post » Mon Jun 09, 2014 8:47 am

Uh, nothing. Good work!
Goodbye
B
114
S
31
G
295
Posts: 4,549
Reputation: 164,608

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
Note: I not very active anymore. If you need to reach me for one of my games, you can do so by emailing me at [email protected]
B
66
S
27
G
9
Posts: 36
Reputation: 9,226

Post » Thu Mar 30, 2017 12:44 pm

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

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
20
S
7
Posts: 117
Reputation: 1,767

Post » Thu Nov 09, 2017 2:52 pm

Thank you for this plugin.
But I have a problem with it.
I get the color at the opening of the color box but not when I selected the color!
It would be necessary that the plugin returns the color selected in the color box.
Or, add a "get color" action.
Thank you.
B
6
S
1
Posts: 60
Reputation: 524

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest