{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/color-extractor/issues/46","repository_url":"https://api.github.com/repos/thephpleague/color-extractor","labels_url":"https://api.github.com/repos/thephpleague/color-extractor/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/color-extractor/issues/46/comments","events_url":"https://api.github.com/repos/thephpleague/color-extractor/issues/46/events","html_url":"https://github.com/thephpleague/color-extractor/issues/46","id":175490357,"number":46,"title":"Request: is it possible for the library to offer sorting the colours light to dark?","user":{"login":"u01jmg3","id":1266205,"avatar_url":"https://avatars.githubusercontent.com/u/1266205?v=3","gravatar_id":"","url":"https://api.github.com/users/u01jmg3","html_url":"https://github.com/u01jmg3","followers_url":"https://api.github.com/users/u01jmg3/followers","following_url":"https://api.github.com/users/u01jmg3/following{/other_user}","gists_url":"https://api.github.com/users/u01jmg3/gists{/gist_id}","starred_url":"https://api.github.com/users/u01jmg3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u01jmg3/subscriptions","organizations_url":"https://api.github.com/users/u01jmg3/orgs","repos_url":"https://api.github.com/users/u01jmg3/repos","events_url":"https://api.github.com/users/u01jmg3/events{/privacy}","received_events_url":"https://api.github.com/users/u01jmg3/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-07T12:30:23Z","updated_at":"2016-11-19T15:33:50Z","closed_at":"2016-11-17T15:37:09Z","body":"- Is it possible for the library to offer sorting the colours light to dark?\n\ne.g. https://gist.github.com/alexkingorg/2158428\n"},"comment":{"url":"https://api.github.com/repos/thephpleague/color-extractor/issues/comments/261720639","html_url":"https://github.com/thephpleague/color-extractor/issues/46#issuecomment-261720639","issue_url":"https://api.github.com/repos/thephpleague/color-extractor/issues/46","id":261720639,"user":{"login":"u01jmg3","id":1266205,"avatar_url":"https://avatars.githubusercontent.com/u/1266205?v=3","gravatar_id":"","url":"https://api.github.com/users/u01jmg3","html_url":"https://github.com/u01jmg3","followers_url":"https://api.github.com/users/u01jmg3/followers","following_url":"https://api.github.com/users/u01jmg3/following{/other_user}","gists_url":"https://api.github.com/users/u01jmg3/gists{/gist_id}","starred_url":"https://api.github.com/users/u01jmg3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u01jmg3/subscriptions","organizations_url":"https://api.github.com/users/u01jmg3/orgs","repos_url":"https://api.github.com/users/u01jmg3/repos","events_url":"https://api.github.com/users/u01jmg3/events{/privacy}","received_events_url":"https://api.github.com/users/u01jmg3/received_events","type":"User","site_admin":false},"created_at":"2016-11-19T15:33:50Z","updated_at":"2016-11-19T15:33:50Z","body":"Sorry for the slow reply.\r\n\r\nHow would I use that with this?\r\n\r\n```php\r\n$image_path = 'cv.png';\r\n$palette    = Palette::fromFilename($image_path);\r\n$colours    = $palette->getMostUsedColors(6);\r\n```"}}
{"actor":{"display_login":"u01jmg3"}}