{"action":"created","issue":{"url":"https://api.github.com/repos/Ultimaker/Uranium/issues/155","repository_url":"https://api.github.com/repos/Ultimaker/Uranium","labels_url":"https://api.github.com/repos/Ultimaker/Uranium/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/Ultimaker/Uranium/issues/155/comments","events_url":"https://api.github.com/repos/Ultimaker/Uranium/issues/155/events","html_url":"https://github.com/Ultimaker/Uranium/pull/155","id":168462164,"number":155,"title":"Convenience functions to convert a UM.Math.Color to/from a hex-string","user":{"login":"fieldOfView","id":143551,"avatar_url":"https://avatars.githubusercontent.com/u/143551?v=3","gravatar_id":"","url":"https://api.github.com/users/fieldOfView","html_url":"https://github.com/fieldOfView","followers_url":"https://api.github.com/users/fieldOfView/followers","following_url":"https://api.github.com/users/fieldOfView/following{/other_user}","gists_url":"https://api.github.com/users/fieldOfView/gists{/gist_id}","starred_url":"https://api.github.com/users/fieldOfView/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fieldOfView/subscriptions","organizations_url":"https://api.github.com/users/fieldOfView/orgs","repos_url":"https://api.github.com/users/fieldOfView/repos","events_url":"https://api.github.com/users/fieldOfView/events{/privacy}","received_events_url":"https://api.github.com/users/fieldOfView/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-30T11:03:45Z","updated_at":"2016-08-04T15:18:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Ultimaker/Uranium/pulls/155","html_url":"https://github.com/Ultimaker/Uranium/pull/155","diff_url":"https://github.com/Ultimaker/Uranium/pull/155.diff","patch_url":"https://github.com/Ultimaker/Uranium/pull/155.patch"},"body":"RGB-colors are commonly represented as \"web-friendly\" #RRGGBB strings (eg #ffffff for white). This PR adds convenience functions to the UM.Math.Color class to convert to/from this format. Usefull in cases where colors are specified in configurations."},"comment":{"url":"https://api.github.com/repos/Ultimaker/Uranium/issues/comments/237585926","html_url":"https://github.com/Ultimaker/Uranium/pull/155#issuecomment-237585926","issue_url":"https://api.github.com/repos/Ultimaker/Uranium/issues/155","id":237585926,"user":{"login":"fieldOfView","id":143551,"avatar_url":"https://avatars.githubusercontent.com/u/143551?v=3","gravatar_id":"","url":"https://api.github.com/users/fieldOfView","html_url":"https://github.com/fieldOfView","followers_url":"https://api.github.com/users/fieldOfView/followers","following_url":"https://api.github.com/users/fieldOfView/following{/other_user}","gists_url":"https://api.github.com/users/fieldOfView/gists{/gist_id}","starred_url":"https://api.github.com/users/fieldOfView/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fieldOfView/subscriptions","organizations_url":"https://api.github.com/users/fieldOfView/orgs","repos_url":"https://api.github.com/users/fieldOfView/repos","events_url":"https://api.github.com/users/fieldOfView/events{/privacy}","received_events_url":"https://api.github.com/users/fieldOfView/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T15:18:30Z","updated_at":"2016-08-04T15:18:30Z","body":"This now takes alpha into account, using the suggested fromHexString/toHexString. toHexString has an optional argument to include the alpha (defaulting to False because rrggbb colors are that much more prevalent). I have chosen to go the qml-route of #aarrggbb instead of the css4-route of #rrggbbaa."}}
{"actor":{"display_login":"fieldOfView"}}