{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/tomakita/Colorful.Console/pulls/28","id":125492445,"html_url":"https://github.com/tomakita/Colorful.Console/pull/28","diff_url":"https://github.com/tomakita/Colorful.Console/pull/28.diff","patch_url":"https://github.com/tomakita/Colorful.Console/pull/28.patch","issue_url":"https://api.github.com/repos/tomakita/Colorful.Console/issues/28","number":28,"state":"closed","locked":false,"title":"Fixed fast color mapping","user":{"login":"redbaty","id":4898202,"avatar_url":"https://avatars1.githubusercontent.com/u/4898202?v=3","gravatar_id":"","url":"https://api.github.com/users/redbaty","html_url":"https://github.com/redbaty","followers_url":"https://api.github.com/users/redbaty/followers","following_url":"https://api.github.com/users/redbaty/following{/other_user}","gists_url":"https://api.github.com/users/redbaty/gists{/gist_id}","starred_url":"https://api.github.com/users/redbaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbaty/subscriptions","organizations_url":"https://api.github.com/users/redbaty/orgs","repos_url":"https://api.github.com/users/redbaty/repos","events_url":"https://api.github.com/users/redbaty/events{/privacy}","received_events_url":"https://api.github.com/users/redbaty/received_events","type":"User","site_admin":false},"body":"Here's what I mean:\r\n\r\n### Before\r\n![before](https://user-images.githubusercontent.com/4898202/27111126-5b08dff4-5084-11e7-8a76-2eb722124952.png)\r\n\r\n### After\r\n![after](https://user-images.githubusercontent.com/4898202/27111128-5d8d8d74-5084-11e7-8a03-d915608f5169.png)\r\n\r\n[Code used in both cases](https://gist.github.com/redbaty/b432253a6402029a1b4396e08e4d9b40)\r\nThis is kinda production ready, but I only tested it on .net 4.7 and 4.5, your results may vary. I can test on the weekend if needed.","created_at":"2017-06-14T01:06:50Z","updated_at":"2017-06-17T13:23:59Z","closed_at":"2017-06-17T13:23:59Z","merged_at":"2017-06-17T13:23:59Z","merge_commit_sha":"586ee9fe47d62c7ac6f903c24beca2328291d7f7","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tomakita/Colorful.Console/pulls/28/commits","review_comments_url":"https://api.github.com/repos/tomakita/Colorful.Console/pulls/28/comments","review_comment_url":"https://api.github.com/repos/tomakita/Colorful.Console/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tomakita/Colorful.Console/issues/28/comments","statuses_url":"https://api.github.com/repos/tomakita/Colorful.Console/statuses/32afcee0802fc731cf773f1c597994041ed747c8","head":{"label":"redbaty:master","ref":"master","sha":"32afcee0802fc731cf773f1c597994041ed747c8","user":{"login":"redbaty","id":4898202,"avatar_url":"https://avatars1.githubusercontent.com/u/4898202?v=3","gravatar_id":"","url":"https://api.github.com/users/redbaty","html_url":"https://github.com/redbaty","followers_url":"https://api.github.com/users/redbaty/followers","following_url":"https://api.github.com/users/redbaty/following{/other_user}","gists_url":"https://api.github.com/users/redbaty/gists{/gist_id}","starred_url":"https://api.github.com/users/redbaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbaty/subscriptions","organizations_url":"https://api.github.com/users/redbaty/orgs","repos_url":"https://api.github.com/users/redbaty/repos","events_url":"https://api.github.com/users/redbaty/events{/privacy}","received_events_url":"https://api.github.com/users/redbaty/received_events","type":"User","site_admin":false},"repo":{"id":94271189,"name":"Colorful.Console","full_name":"redbaty/Colorful.Console","owner":{"login":"redbaty","id":4898202,"avatar_url":"https://avatars1.githubusercontent.com/u/4898202?v=3","gravatar_id":"","url":"https://api.github.com/users/redbaty","html_url":"https://github.com/redbaty","followers_url":"https://api.github.com/users/redbaty/followers","following_url":"https://api.github.com/users/redbaty/following{/other_user}","gists_url":"https://api.github.com/users/redbaty/gists{/gist_id}","starred_url":"https://api.github.com/users/redbaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbaty/subscriptions","organizations_url":"https://api.github.com/users/redbaty/orgs","repos_url":"https://api.github.com/users/redbaty/repos","events_url":"https://api.github.com/users/redbaty/events{/privacy}","received_events_url":"https://api.github.com/users/redbaty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/redbaty/Colorful.Console","description":"Style your C# console output!","fork":true,"url":"https://api.github.com/repos/redbaty/Colorful.Console","forks_url":"https://api.github.com/repos/redbaty/Colorful.Console/forks","keys_url":"https://api.github.com/repos/redbaty/Colorful.Console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redbaty/Colorful.Console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redbaty/Colorful.Console/teams","hooks_url":"https://api.github.com/repos/redbaty/Colorful.Console/hooks","issue_events_url":"https://api.github.com/repos/redbaty/Colorful.Console/issues/events{/number}","events_url":"https://api.github.com/repos/redbaty/Colorful.Console/events","assignees_url":"https://api.github.com/repos/redbaty/Colorful.Console/assignees{/user}","branches_url":"https://api.github.com/repos/redbaty/Colorful.Console/branches{/branch}","tags_url":"https://api.github.com/repos/redbaty/Colorful.Console/tags","blobs_url":"https://api.github.com/repos/redbaty/Colorful.Console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redbaty/Colorful.Console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redbaty/Colorful.Console/git/refs{/sha}","trees_url":"https://api.github.com/repos/redbaty/Colorful.Console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redbaty/Colorful.Console/statuses/{sha}","languages_url":"https://api.github.com/repos/redbaty/Colorful.Console/languages","stargazers_url":"https://api.github.com/repos/redbaty/Colorful.Console/stargazers","contributors_url":"https://api.github.com/repos/redbaty/Colorful.Console/contributors","subscribers_url":"https://api.github.com/repos/redbaty/Colorful.Console/subscribers","subscription_url":"https://api.github.com/repos/redbaty/Colorful.Console/subscription","commits_url":"https://api.github.com/repos/redbaty/Colorful.Console/commits{/sha}","git_commits_url":"https://api.github.com/repos/redbaty/Colorful.Console/git/commits{/sha}","comments_url":"https://api.github.com/repos/redbaty/Colorful.Console/comments{/number}","issue_comment_url":"https://api.github.com/repos/redbaty/Colorful.Console/issues/comments{/number}","contents_url":"https://api.github.com/repos/redbaty/Colorful.Console/contents/{+path}","compare_url":"https://api.github.com/repos/redbaty/Colorful.Console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redbaty/Colorful.Console/merges","archive_url":"https://api.github.com/repos/redbaty/Colorful.Console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redbaty/Colorful.Console/downloads","issues_url":"https://api.github.com/repos/redbaty/Colorful.Console/issues{/number}","pulls_url":"https://api.github.com/repos/redbaty/Colorful.Console/pulls{/number}","milestones_url":"https://api.github.com/repos/redbaty/Colorful.Console/milestones{/number}","notifications_url":"https://api.github.com/repos/redbaty/Colorful.Console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redbaty/Colorful.Console/labels{/name}","releases_url":"https://api.github.com/repos/redbaty/Colorful.Console/releases{/id}","deployments_url":"https://api.github.com/repos/redbaty/Colorful.Console/deployments","created_at":"2017-06-14T00:37:23Z","updated_at":"2017-06-14T00:37:25Z","pushed_at":"2017-06-14T01:03:54Z","git_url":"git://github.com/redbaty/Colorful.Console.git","ssh_url":"git@github.com:redbaty/Colorful.Console.git","clone_url":"https://github.com/redbaty/Colorful.Console.git","svn_url":"https://github.com/redbaty/Colorful.Console","homepage":"http://colorfulconsole.com/","size":3352,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tomakita:master","ref":"master","sha":"3ef632aab5b34485c60ae6f74a5286c8d367689e","user":{"login":"tomakita","id":8643072,"avatar_url":"https://avatars1.githubusercontent.com/u/8643072?v=3","gravatar_id":"","url":"https://api.github.com/users/tomakita","html_url":"https://github.com/tomakita","followers_url":"https://api.github.com/users/tomakita/followers","following_url":"https://api.github.com/users/tomakita/following{/other_user}","gists_url":"https://api.github.com/users/tomakita/gists{/gist_id}","starred_url":"https://api.github.com/users/tomakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomakita/subscriptions","organizations_url":"https://api.github.com/users/tomakita/orgs","repos_url":"https://api.github.com/users/tomakita/repos","events_url":"https://api.github.com/users/tomakita/events{/privacy}","received_events_url":"https://api.github.com/users/tomakita/received_events","type":"User","site_admin":false},"repo":{"id":46247545,"name":"Colorful.Console","full_name":"tomakita/Colorful.Console","owner":{"login":"tomakita","id":8643072,"avatar_url":"https://avatars1.githubusercontent.com/u/8643072?v=3","gravatar_id":"","url":"https://api.github.com/users/tomakita","html_url":"https://github.com/tomakita","followers_url":"https://api.github.com/users/tomakita/followers","following_url":"https://api.github.com/users/tomakita/following{/other_user}","gists_url":"https://api.github.com/users/tomakita/gists{/gist_id}","starred_url":"https://api.github.com/users/tomakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomakita/subscriptions","organizations_url":"https://api.github.com/users/tomakita/orgs","repos_url":"https://api.github.com/users/tomakita/repos","events_url":"https://api.github.com/users/tomakita/events{/privacy}","received_events_url":"https://api.github.com/users/tomakita/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomakita/Colorful.Console","description":"Style your C# console output!","fork":false,"url":"https://api.github.com/repos/tomakita/Colorful.Console","forks_url":"https://api.github.com/repos/tomakita/Colorful.Console/forks","keys_url":"https://api.github.com/repos/tomakita/Colorful.Console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomakita/Colorful.Console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomakita/Colorful.Console/teams","hooks_url":"https://api.github.com/repos/tomakita/Colorful.Console/hooks","issue_events_url":"https://api.github.com/repos/tomakita/Colorful.Console/issues/events{/number}","events_url":"https://api.github.com/repos/tomakita/Colorful.Console/events","assignees_url":"https://api.github.com/repos/tomakita/Colorful.Console/assignees{/user}","branches_url":"https://api.github.com/repos/tomakita/Colorful.Console/branches{/branch}","tags_url":"https://api.github.com/repos/tomakita/Colorful.Console/tags","blobs_url":"https://api.github.com/repos/tomakita/Colorful.Console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomakita/Colorful.Console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomakita/Colorful.Console/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomakita/Colorful.Console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomakita/Colorful.Console/statuses/{sha}","languages_url":"https://api.github.com/repos/tomakita/Colorful.Console/languages","stargazers_url":"https://api.github.com/repos/tomakita/Colorful.Console/stargazers","contributors_url":"https://api.github.com/repos/tomakita/Colorful.Console/contributors","subscribers_url":"https://api.github.com/repos/tomakita/Colorful.Console/subscribers","subscription_url":"https://api.github.com/repos/tomakita/Colorful.Console/subscription","commits_url":"https://api.github.com/repos/tomakita/Colorful.Console/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomakita/Colorful.Console/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomakita/Colorful.Console/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomakita/Colorful.Console/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomakita/Colorful.Console/contents/{+path}","compare_url":"https://api.github.com/repos/tomakita/Colorful.Console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomakita/Colorful.Console/merges","archive_url":"https://api.github.com/repos/tomakita/Colorful.Console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomakita/Colorful.Console/downloads","issues_url":"https://api.github.com/repos/tomakita/Colorful.Console/issues{/number}","pulls_url":"https://api.github.com/repos/tomakita/Colorful.Console/pulls{/number}","milestones_url":"https://api.github.com/repos/tomakita/Colorful.Console/milestones{/number}","notifications_url":"https://api.github.com/repos/tomakita/Colorful.Console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomakita/Colorful.Console/labels{/name}","releases_url":"https://api.github.com/repos/tomakita/Colorful.Console/releases{/id}","deployments_url":"https://api.github.com/repos/tomakita/Colorful.Console/deployments","created_at":"2015-11-16T02:37:20Z","updated_at":"2017-06-15T13:23:27Z","pushed_at":"2017-06-17T13:23:59Z","git_url":"git://github.com/tomakita/Colorful.Console.git","ssh_url":"git@github.com:tomakita/Colorful.Console.git","clone_url":"https://github.com/tomakita/Colorful.Console.git","svn_url":"https://github.com/tomakita/Colorful.Console","homepage":"http://colorfulconsole.com/","size":3351,"stargazers_count":222,"watchers_count":222,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":7,"forks":28,"open_issues":7,"watchers":222,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tomakita/Colorful.Console/pulls/28"},"html":{"href":"https://github.com/tomakita/Colorful.Console/pull/28"},"issue":{"href":"https://api.github.com/repos/tomakita/Colorful.Console/issues/28"},"comments":{"href":"https://api.github.com/repos/tomakita/Colorful.Console/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/tomakita/Colorful.Console/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/tomakita/Colorful.Console/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tomakita/Colorful.Console/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/tomakita/Colorful.Console/statuses/32afcee0802fc731cf773f1c597994041ed747c8"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tomakita","id":8643072,"avatar_url":"https://avatars1.githubusercontent.com/u/8643072?v=3","gravatar_id":"","url":"https://api.github.com/users/tomakita","html_url":"https://github.com/tomakita","followers_url":"https://api.github.com/users/tomakita/followers","following_url":"https://api.github.com/users/tomakita/following{/other_user}","gists_url":"https://api.github.com/users/tomakita/gists{/gist_id}","starred_url":"https://api.github.com/users/tomakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomakita/subscriptions","organizations_url":"https://api.github.com/users/tomakita/orgs","repos_url":"https://api.github.com/users/tomakita/repos","events_url":"https://api.github.com/users/tomakita/events{/privacy}","received_events_url":"https://api.github.com/users/tomakita/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":71,"deletions":14,"changed_files":2}}
{"actor":{"display_login":"tomakita"}}