{"action":"opened","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/2322","labels_url":"https://api.github.com/repos/grafana/grafana/issues/2322/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/2322/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/2322/events","html_url":"https://github.com/grafana/grafana/issues/2322","id":94150379,"number":2322,"title":"Enhancement: Consistent Color Pickers","user":{"login":"mattttt","id":2886187,"avatar_url":"https://avatars.githubusercontent.com/u/2886187?v=3","gravatar_id":"","url":"https://api.github.com/users/mattttt","html_url":"https://github.com/mattttt","followers_url":"https://api.github.com/users/mattttt/followers","following_url":"https://api.github.com/users/mattttt/following{/other_user}","gists_url":"https://api.github.com/users/mattttt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattttt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattttt/subscriptions","organizations_url":"https://api.github.com/users/mattttt/orgs","repos_url":"https://api.github.com/users/mattttt/repos","events_url":"https://api.github.com/users/mattttt/events{/privacy}","received_events_url":"https://api.github.com/users/mattttt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-09T20:58:23Z","updated_at":"2015-07-09T20:58:23Z","closed_at":null,"body":"Currently, there are two different ways to select color in the system.\r\n\r\n1. The pre-set color swatch, available in panel legends.\r\n2. The color picker, available in the panel config for singlestat panels.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2886187/8606689/603fb894-265b-11e5-85ef-d6a8b7615cc7.png)\r\n\r\n\r\nThis is currently suboptimal, because it prevents the user from maintaining color consistency across singlestat panels and graph panels. Further, as the interface does not accept RGB values for the color picker, it's near impossible to match colors without editing & re-uploading the JSON.\r\n\r\nSince all of these end up as JSON values anyway, I propose we extend all color selection to a more robust interface that will address both issues. \r\n\r\n- Defaulting the menu to the pre-set color swatch encourages the user to first use these colors - which have been optimized to work on both light and dark themes. \r\n- But extending the color picker to accept rgba values allows the more savvy user to use consistent color across multiple panels. \r\n\r\nQuick and dirty Invision Prototype: http://invis.io/PV3ITSB7H\r\n\r\n![screenshot 2015-07-09 16 50 49](https://cloud.githubusercontent.com/assets/2886187/8606665/310ffcbe-265b-11e5-8915-59b7de764abb.png)\r\n![screenshot 2015-07-09 16 50 54](https://cloud.githubusercontent.com/assets/2886187/8606666/3137dca2-265b-11e5-8ccf-e104ec886d5d.png)\r\n\r\n"}}