{"action":"created","issue":{"url":"https://api.github.com/repos/akfish/node-vibrant/issues/1","labels_url":"https://api.github.com/repos/akfish/node-vibrant/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/akfish/node-vibrant/issues/1/comments","events_url":"https://api.github.com/repos/akfish/node-vibrant/issues/1/events","html_url":"https://github.com/akfish/node-vibrant/issues/1","id":85585853,"number":1,"title":"Vibrant.rgbToHsl is not a function","user":{"login":"nitriques","id":771169,"avatar_url":"https://avatars.githubusercontent.com/u/771169?v=3","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-05T17:19:37Z","updated_at":"2015-06-05T18:38:34Z","closed_at":"2015-06-05T18:24:00Z","body":"Looks like the refactoring caused a bug.\r\n\r\nI can't create a PR since the build would not work on my machine, but here's how to fix it.\r\n\r\nAfter this line https://github.com/akfish/node-vibrant/blob/master/src/Vibrant.coffee#L14 add\r\n\r\n```coffee\r\nutil = require('./util')\r\n```\r\n\r\nChange the `Vibrant.hslToRgb ` call to `util.hslToRgb` on those two lines\r\n\r\nhttps://github.com/akfish/node-vibrant/blob/master/src/Vibrant.coffee#L122\r\n\r\nhttps://github.com/akfish/node-vibrant/blob/master/src/Vibrant.coffee#L130\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/akfish/node-vibrant/issues/comments/109391758","html_url":"https://github.com/akfish/node-vibrant/issues/1#issuecomment-109391758","issue_url":"https://api.github.com/repos/akfish/node-vibrant/issues/1","id":109391758,"user":{"login":"akfish","id":922715,"avatar_url":"https://avatars.githubusercontent.com/u/922715?v=3","gravatar_id":"","url":"https://api.github.com/users/akfish","html_url":"https://github.com/akfish","followers_url":"https://api.github.com/users/akfish/followers","following_url":"https://api.github.com/users/akfish/following{/other_user}","gists_url":"https://api.github.com/users/akfish/gists{/gist_id}","starred_url":"https://api.github.com/users/akfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akfish/subscriptions","organizations_url":"https://api.github.com/users/akfish/orgs","repos_url":"https://api.github.com/users/akfish/repos","events_url":"https://api.github.com/users/akfish/events{/privacy}","received_events_url":"https://api.github.com/users/akfish/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T18:38:34Z","updated_at":"2015-06-05T18:38:34Z","body":"Yep. "}}