{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/opam-repository/issues/12668","repository_url":"https://api.github.com/repos/ocaml/opam-repository","labels_url":"https://api.github.com/repos/ocaml/opam-repository/issues/12668/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/opam-repository/issues/12668/comments","events_url":"https://api.github.com/repos/ocaml/opam-repository/issues/12668/events","html_url":"https://github.com/ocaml/opam-repository/pull/12668","id":362451254,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MTY4MzA3","number":12668,"title":"[new release] color (0.2.0)","user":{"login":"anuragsoni","id":5814535,"node_id":"MDQ6VXNlcjU4MTQ1MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/5814535?v=4","gravatar_id":"","url":"https://api.github.com/users/anuragsoni","html_url":"https://github.com/anuragsoni","followers_url":"https://api.github.com/users/anuragsoni/followers","following_url":"https://api.github.com/users/anuragsoni/following{/other_user}","gists_url":"https://api.github.com/users/anuragsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/anuragsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuragsoni/subscriptions","organizations_url":"https://api.github.com/users/anuragsoni/orgs","repos_url":"https://api.github.com/users/anuragsoni/repos","events_url":"https://api.github.com/users/anuragsoni/events{/privacy}","received_events_url":"https://api.github.com/users/anuragsoni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-21T04:25:14Z","updated_at":"2018-09-21T11:49:05Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ocaml/opam-repository/pulls/12668","html_url":"https://github.com/ocaml/opam-repository/pull/12668","diff_url":"https://github.com/ocaml/opam-repository/pull/12668.diff","patch_url":"https://github.com/ocaml/opam-repository/pull/12668.patch"},"body":"Converts between different color formats\n\n- Project page: <a href=\"https://github.com/anuragsoni/color\">https://github.com/anuragsoni/color</a>\n- Documentation: <a href=\"https://anuragsoni.github.io/color/\">https://anuragsoni.github.io/color/</a>\n\n##### CHANGES:\n\n* Switch to using types from [Gg](http://erratique.ch/software/gg)\n* Parse CSS hex color representation\n* Add some basic colors (black, white and graytone)\n* Add utilities to modify a color\n  - `rotate_hue` (Rotates the hue of a color by given angle)\n  - `complementary` (Rotates hue by 180 degree)\n  - `lighten` (Lightens a color by given amount)\n  - `darken` (Darks a color by given amount)\n  - `saturate` (Increases saturation by given amount)\n  - `desaturate` (Decreases saturation by given amount)\n  - `light` (tells if a color is perceived as light)\n  - `contrast_ratio` (returns contrast ratio between colors)\n  - `relative_luminance` (returns luminance of a color)\n  - `brightness` (returns perceived brightness of a color)\n  - `readable` (checks if a text color is readable on a backgroun)\n  - `text_color` (returns a suitable text color for given background color)\n"},"comment":{"url":"https://api.github.com/repos/ocaml/opam-repository/issues/comments/423504978","html_url":"https://github.com/ocaml/opam-repository/pull/12668#issuecomment-423504978","issue_url":"https://api.github.com/repos/ocaml/opam-repository/issues/12668","id":423504978,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzUwNDk3OA==","user":{"login":"mseri","id":4040623,"node_id":"MDQ6VXNlcjQwNDA2MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/4040623?v=4","gravatar_id":"","url":"https://api.github.com/users/mseri","html_url":"https://github.com/mseri","followers_url":"https://api.github.com/users/mseri/followers","following_url":"https://api.github.com/users/mseri/following{/other_user}","gists_url":"https://api.github.com/users/mseri/gists{/gist_id}","starred_url":"https://api.github.com/users/mseri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mseri/subscriptions","organizations_url":"https://api.github.com/users/mseri/orgs","repos_url":"https://api.github.com/users/mseri/repos","events_url":"https://api.github.com/users/mseri/events{/privacy}","received_events_url":"https://api.github.com/users/mseri/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T11:49:05Z","updated_at":"2018-09-21T11:49:05Z","author_association":"CONTRIBUTOR","body":"lgtm"}}
{"actor":{"display_login":"mseri"}}