RTColorPicker :: Run time Color Picker

Hello.

After the release of my RTGizmo project on the Unity Asset store I thought I might add some more.

I’m currently working on a run time color picker which I hope to finish up soon and add to the Asset store. I wanted to get some feedback on it and see if this indeed something other Unity Developers might be interested in.

Features:

  • HSV, RGBA and Hex controls
  • Color Wheel and ColorBox options
  • Eye Dropper tool to quickly and easily select scene colors
  • Two orientation styles
  • Supports Old/New colors. Old color assigned on cancel.
  • Will include custom gui skin
  • Highly configurable through inspector options
  • Can handle save/load of custom colors through assigned function callbacks

WebPlayer Demo

Let me know if there is anything that isn’t working or something I may have missed. Thanks.

awesome!!! :slight_smile:

I can’t get it to work. Where am I supposed to click?

A circle is better than what Unity offers, but an HSV triangle is the most effective picker, for me. Photoshop’s square is more redundant than the other methods but I find it right in the middle in terms of theoretical usability (it’s hindered by atrocious keystrokes).

833711--31096--$Screen Shot 2012-02-18 at 11.50.06 AM.png
833711--31097--$Screen Shot 2012-02-18 at 11.57.45 AM.png

Hmm… on your first screenshot it looks like the panel on the left is not appearing in the webplayer. You should see Ball01, Ball02 etc with color boxes under the labels. Click on the color box to open the color picker. I tweaked and re-uploaded the webplayer. Let me know if it’s still not working.

The color picker currently has both circle and square modes. The triangle mode looks interesting though. Might look at adding that as an additional mode option. Thanks for the feedback.

Sorry, it’s not. I tried across three browsers and two MacBook Pros (2010 2011 models). Latest version of the web player.

Hmm… quite strange indeed. I’ve tried it in Chrome, Firefox and IE and it works fine for myself and a few others that I’ve had test it.

Here is what the WebPlayer should look like upon load:

Are you not seeing the panel on the left at all?

Thanks again.

Any of them run OS X? (10.7.3 on our machines, here.)

Depends on the browser. In WebKit browsers, I see the sliver of it that’s in my screenshot. In Firefox, there’s no hint of it at all (and there’s a dashed outline around the plugin. I hardly ever use Firefox so I’m assuming that’s a standard thing nowadays, but I never saw it before.)

Was able to duplicate the issue after updating my Unity Webplayer plugin to the latest version. I’m updating the project to the latest version of Unity (3.5) to see if this resolves the issue.

Clicking refresh on the page after the player loads seems to fix it at this point as well.

Updated Webplayer Demo to Unity 3.5. Tested under OSX 10.5.8 under Safari browser as working. For some reason after initial load of the Webplayer I have to click refresh and then everything pops right in. Not sure what is causing the issue as everything has worked fine under Windows Webplayer on various browsers and in Unity Editor.

I’m using the RT Color Picker and was wondering if there was any way to set its scale/size according to resolution.

Thanks.

I have been using this a long time ago and this was using IMGUI at that time.

I have seen that it got recently updated to support Unity 5.x.

I guess it the update includes rewriting it for new GUI system, there should be no scaling problems.

The RTColorPicker still currently uses the older IMGUI. There is no built in feature for scaling of the interface. The OnGUI method in the core RTColorPicker files will need to be modified.

You can use the GUI.Matrix to scale the interface for different resolutions. For an example check out this Unity Answer: Bulletproof way to do resolution independant GUI scaling? - Questions & Answers - Unity Discussions