{"action":"opened","issue":{"url":"https://api.github.com/repos/davidmerfield/randomColor/issues/73","repository_url":"https://api.github.com/repos/davidmerfield/randomColor","labels_url":"https://api.github.com/repos/davidmerfield/randomColor/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/davidmerfield/randomColor/issues/73/comments","events_url":"https://api.github.com/repos/davidmerfield/randomColor/issues/73/events","html_url":"https://github.com/davidmerfield/randomColor/issues/73","id":192237984,"number":73,"title":"How to get pair of related (light/dark) colours","user":{"login":"micheledallatorre","id":4906504,"avatar_url":"https://avatars.githubusercontent.com/u/4906504?v=3","gravatar_id":"","url":"https://api.github.com/users/micheledallatorre","html_url":"https://github.com/micheledallatorre","followers_url":"https://api.github.com/users/micheledallatorre/followers","following_url":"https://api.github.com/users/micheledallatorre/following{/other_user}","gists_url":"https://api.github.com/users/micheledallatorre/gists{/gist_id}","starred_url":"https://api.github.com/users/micheledallatorre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheledallatorre/subscriptions","organizations_url":"https://api.github.com/users/micheledallatorre/orgs","repos_url":"https://api.github.com/users/micheledallatorre/repos","events_url":"https://api.github.com/users/micheledallatorre/events{/privacy}","received_events_url":"https://api.github.com/users/micheledallatorre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-29T10:05:23Z","updated_at":"2016-11-29T10:05:23Z","closed_at":null,"body":"Hello,\r\nI'm using www.chartjs.org to display some charts.\r\nI would need to get some \"related\" colors, e.g. a light blue and a dark blue, to be used for hover and background colors, for example in a bar chart: http://www.chartjs.org/docs/#bar-chart\r\n\r\nTo do that, I use the alpha channel:\r\n```\r\n// define a green colour with alpha = 1\r\nvar green = 'rgba(172,216,86, 1)';\r\n// define the same color but with alpha = 0.5\r\nvar greenHighlight = 'rgba(172,216,86, 0.5)';\r\n```\r\n\r\nIs there a way, using your library, to get an array of two colors, with the same rgb values but with different alpha (e.g. alpha = 1 and alpha = 0.5)?\r\n\r\nThanks!"}}
{"actor":{"display_login":"micheledallatorre"}}