{"action":"created","issue":{"url":"https://api.github.com/repos/gka/chroma.js/issues/32","labels_url":"https://api.github.com/repos/gka/chroma.js/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/gka/chroma.js/issues/32/comments","events_url":"https://api.github.com/repos/gka/chroma.js/issues/32/events","html_url":"https://github.com/gka/chroma.js/issues/32","id":45753947,"number":32,"title":"Channels API","user":{"login":"dfcreative","id":300067,"avatar_url":"https://avatars.githubusercontent.com/u/300067?v=3","gravatar_id":"","url":"https://api.github.com/users/dfcreative","html_url":"https://github.com/dfcreative","followers_url":"https://api.github.com/users/dfcreative/followers","following_url":"https://api.github.com/users/dfcreative/following{/other_user}","gists_url":"https://api.github.com/users/dfcreative/gists{/gist_id}","starred_url":"https://api.github.com/users/dfcreative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfcreative/subscriptions","organizations_url":"https://api.github.com/users/dfcreative/orgs","repos_url":"https://api.github.com/users/dfcreative/repos","events_url":"https://api.github.com/users/dfcreative/events{/privacy}","received_events_url":"https://api.github.com/users/dfcreative/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-10-14T14:06:20Z","updated_at":"2015-06-01T05:01:02Z","closed_at":null,"body":"Is there a way to set/retrieve channel value, as it is done in [harthur/color](https://github.com/harthur/color)? Or are there any plans on that?\r\nE. g.\r\n```js\r\nvar Color = requie('chroma');\r\nvar c = new Color('gray');\r\nc.red(); //128\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gka/chroma.js/issues/comments/107306358","html_url":"https://github.com/gka/chroma.js/issues/32#issuecomment-107306358","issue_url":"https://api.github.com/repos/gka/chroma.js/issues/32","id":107306358,"user":{"login":"gka","id":617518,"avatar_url":"https://avatars.githubusercontent.com/u/617518?v=3","gravatar_id":"","url":"https://api.github.com/users/gka","html_url":"https://github.com/gka","followers_url":"https://api.github.com/users/gka/followers","following_url":"https://api.github.com/users/gka/following{/other_user}","gists_url":"https://api.github.com/users/gka/gists{/gist_id}","starred_url":"https://api.github.com/users/gka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gka/subscriptions","organizations_url":"https://api.github.com/users/gka/orgs","repos_url":"https://api.github.com/users/gka/repos","events_url":"https://api.github.com/users/gka/events{/privacy}","received_events_url":"https://api.github.com/users/gka/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T05:01:02Z","updated_at":"2015-06-01T05:01:02Z","body":"Internally, every color is stored as RGB in chroma.js, so no, it does not know what color space a color belongs to.  chroma.js reads colors and outputs colors. it doesn't have a nice way to manipulate a single component of a color, mainly because I never use this."}}