{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/calendar/issues/460","labels_url":"https://api.github.com/repos/owncloud/calendar/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/calendar/issues/460/comments","events_url":"https://api.github.com/repos/owncloud/calendar/issues/460/events","html_url":"https://github.com/owncloud/calendar/issues/460","id":36458537,"number":460,"title":"Insufficient number of colors in Calendar","user":{"login":"lordawe","id":7983489,"avatar_url":"https://avatars.githubusercontent.com/u/7983489?v=3","gravatar_id":"","url":"https://api.github.com/users/lordawe","html_url":"https://github.com/lordawe","followers_url":"https://api.github.com/users/lordawe/followers","following_url":"https://api.github.com/users/lordawe/following{/other_user}","gists_url":"https://api.github.com/users/lordawe/gists{/gist_id}","starred_url":"https://api.github.com/users/lordawe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordawe/subscriptions","organizations_url":"https://api.github.com/users/lordawe/orgs","repos_url":"https://api.github.com/users/lordawe/repos","events_url":"https://api.github.com/users/lordawe/events{/privacy}","received_events_url":"https://api.github.com/users/lordawe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-06-25T08:32:44Z","updated_at":"2015-07-05T15:09:52Z","closed_at":"2014-06-25T09:25:08Z","body":"We use OC in NGO nonprofit helping organisation, we share calendars among many people in our organisation. Please, can you implement more colors to choose in calendar? (Calendar ver. 0.6.3)\r\n\r\nThis issue goes hand in hand with issue #459.\r\n\r\nThank you very much\r\n\r\n\r\n![460](https://cloud.githubusercontent.com/assets/7983489/3383256/0b56b582-fc48-11e3-9912-7ae7b46c0c0d.png)\r\n\r\n![colors](https://cloud.githubusercontent.com/assets/7983489/3383291/53568290-fc48-11e3-9dee-8c7a56a48db3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/calendar/issues/comments/118631442","html_url":"https://github.com/owncloud/calendar/issues/460#issuecomment-118631442","issue_url":"https://api.github.com/repos/owncloud/calendar/issues/460","id":118631442,"user":{"login":"shaneonabike","id":1126026,"avatar_url":"https://avatars.githubusercontent.com/u/1126026?v=3","gravatar_id":"","url":"https://api.github.com/users/shaneonabike","html_url":"https://github.com/shaneonabike","followers_url":"https://api.github.com/users/shaneonabike/followers","following_url":"https://api.github.com/users/shaneonabike/following{/other_user}","gists_url":"https://api.github.com/users/shaneonabike/gists{/gist_id}","starred_url":"https://api.github.com/users/shaneonabike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaneonabike/subscriptions","organizations_url":"https://api.github.com/users/shaneonabike/orgs","repos_url":"https://api.github.com/users/shaneonabike/repos","events_url":"https://api.github.com/users/shaneonabike/events{/privacy}","received_events_url":"https://api.github.com/users/shaneonabike/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T15:09:52Z","updated_at":"2015-07-05T15:09:52Z","body":"Nice work! I did a little tracking and determined that the colour being set rgba(250,250,25) for the text is being set on the line 399 within the function generateTextColor\r\n\r\n<code>lib/calendar.php:\t\treturn ($computation > 130)?'#000000':'#FAFAFA';\r\n</code>\r\n\r\nI had actually wondered if it might be more useful to just completely open up the colour selector to https://bgrins.github.io/spectrum/ instead. Since this provides a full spectrum?"}}