{"action":"opened","issue":{"url":"https://api.github.com/repos/avh4/elm-color/issues/12","repository_url":"https://api.github.com/repos/avh4/elm-color","labels_url":"https://api.github.com/repos/avh4/elm-color/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/avh4/elm-color/issues/12/comments","events_url":"https://api.github.com/repos/avh4/elm-color/issues/12/events","html_url":"https://github.com/avh4/elm-color/issues/12","id":358470095,"node_id":"MDU6SXNzdWUzNTg0NzAwOTU=","number":12,"title":"Does there need to be a way to get the RGB components as [0,255] ?","user":{"login":"avh4","id":1222,"node_id":"MDQ6VXNlcjEyMjI=","avatar_url":"https://avatars1.githubusercontent.com/u/1222?v=4","gravatar_id":"","url":"https://api.github.com/users/avh4","html_url":"https://github.com/avh4","followers_url":"https://api.github.com/users/avh4/followers","following_url":"https://api.github.com/users/avh4/following{/other_user}","gists_url":"https://api.github.com/users/avh4/gists{/gist_id}","starred_url":"https://api.github.com/users/avh4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avh4/subscriptions","organizations_url":"https://api.github.com/users/avh4/orgs","repos_url":"https://api.github.com/users/avh4/repos","events_url":"https://api.github.com/users/avh4/events{/privacy}","received_events_url":"https://api.github.com/users/avh4/received_events","type":"User","site_admin":false},"labels":[{"id":1048752483,"node_id":"MDU6TGFiZWwxMDQ4NzUyNDgz","url":"https://api.github.com/repos/avh4/elm-color/labels/discussion","name":"discussion","color":"6633cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/avh4/elm-color/milestones/1","html_url":"https://github.com/avh4/elm-color/milestone/1","labels_url":"https://api.github.com/repos/avh4/elm-color/milestones/1/labels","id":3636706,"node_id":"MDk6TWlsZXN0b25lMzYzNjcwNg==","number":1,"title":"1.0.0","description":"","creator":{"login":"avh4","id":1222,"node_id":"MDQ6VXNlcjEyMjI=","avatar_url":"https://avatars1.githubusercontent.com/u/1222?v=4","gravatar_id":"","url":"https://api.github.com/users/avh4","html_url":"https://github.com/avh4","followers_url":"https://api.github.com/users/avh4/followers","following_url":"https://api.github.com/users/avh4/following{/other_user}","gists_url":"https://api.github.com/users/avh4/gists{/gist_id}","starred_url":"https://api.github.com/users/avh4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avh4/subscriptions","organizations_url":"https://api.github.com/users/avh4/orgs","repos_url":"https://api.github.com/users/avh4/repos","events_url":"https://api.github.com/users/avh4/events{/privacy}","received_events_url":"https://api.github.com/users/avh4/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2018-09-09T21:27:51Z","updated_at":"2018-09-10T05:06:52Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-09-10T05:06:51Z","updated_at":"2018-09-10T05:06:51Z","closed_at":null,"author_association":"OWNER","body":"Questions:\r\n  - [ ] Is there a use case for getting the RGB components as [0,255]?  How common is it?\r\n  - [ ] If common, should alpha be provided as [0,255], or [0.0,1.0], or both?\r\n\r\nCurrently, there is `toHex`, which does the conversion to integers, but only provides the result as a hex string.  Is this sufficient for common needs?\r\n\r\nWe could possibly add something like the following:\r\n\r\n```\r\ntoRgb255 : Color -> { red : Int, green : Int, blue : Int, alpha : Float }\r\n```\r\n"}}
{"actor":{"display_login":"avh4"}}