{"action":"created","issue":{"url":"https://api.github.com/repos/WebDevStudios/CMB2/issues/96","labels_url":"https://api.github.com/repos/WebDevStudios/CMB2/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/WebDevStudios/CMB2/issues/96/comments","events_url":"https://api.github.com/repos/WebDevStudios/CMB2/issues/96/events","html_url":"https://github.com/WebDevStudios/CMB2/issues/96","id":49634953,"number":96,"title":"Feature Request - Presets for colorpicker","user":{"login":"jamiechong","id":981664,"avatar_url":"https://avatars.githubusercontent.com/u/981664?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiechong","html_url":"https://github.com/jamiechong","followers_url":"https://api.github.com/users/jamiechong/followers","following_url":"https://api.github.com/users/jamiechong/following{/other_user}","gists_url":"https://api.github.com/users/jamiechong/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiechong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiechong/subscriptions","organizations_url":"https://api.github.com/users/jamiechong/orgs","repos_url":"https://api.github.com/users/jamiechong/repos","events_url":"https://api.github.com/users/jamiechong/events{/privacy}","received_events_url":"https://api.github.com/users/jamiechong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WebDevStudios/CMB2/labels/Feature%20Request","name":"Feature Request","color":"207de5"},{"url":"https://api.github.com/repos/WebDevStudios/CMB2/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-20T23:56:00Z","updated_at":"2015-10-20T11:02:43Z","closed_at":null,"body":"The colorpicker is very handy. A nice extension to it would be to offer a palette of preset colors to choose from. This would show little squares of colors that can be clicked to quickly choose a color. Of course, the admin could also customize the color. Just use the existing `options` setting:\r\n\r\n    array(\r\n        'type' => 'colorpicker',\r\n        'options' => array('#ff00ee', '#00ff00', '#00bbff'),\r\n    )"},"comment":{"url":"https://api.github.com/repos/WebDevStudios/CMB2/issues/comments/149525582","html_url":"https://github.com/WebDevStudios/CMB2/issues/96#issuecomment-149525582","issue_url":"https://api.github.com/repos/WebDevStudios/CMB2/issues/96","id":149525582,"user":{"login":"efoula","id":2647489,"avatar_url":"https://avatars.githubusercontent.com/u/2647489?v=3","gravatar_id":"","url":"https://api.github.com/users/efoula","html_url":"https://github.com/efoula","followers_url":"https://api.github.com/users/efoula/followers","following_url":"https://api.github.com/users/efoula/following{/other_user}","gists_url":"https://api.github.com/users/efoula/gists{/gist_id}","starred_url":"https://api.github.com/users/efoula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efoula/subscriptions","organizations_url":"https://api.github.com/users/efoula/orgs","repos_url":"https://api.github.com/users/efoula/repos","events_url":"https://api.github.com/users/efoula/events{/privacy}","received_events_url":"https://api.github.com/users/efoula/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T11:02:43Z","updated_at":"2015-10-20T11:02:43Z","body":"Hello,\r\nHow to create a custom colour palette without showing up all the colours of the colour picker, I just want to show up a specified number of colours for the admin !!!??"}}