{"action":"closed","issue":{"url":"https://api.github.com/repos/gdamore/tcell/issues/58","labels_url":"https://api.github.com/repos/gdamore/tcell/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/gdamore/tcell/issues/58/comments","events_url":"https://api.github.com/repos/gdamore/tcell/issues/58/events","html_url":"https://github.com/gdamore/tcell/issues/58","id":113712389,"number":58,"title":"Use color space to find best matching colors","user":{"login":"gdamore","id":1295229,"avatar_url":"https://avatars.githubusercontent.com/u/1295229?v=3","gravatar_id":"","url":"https://api.github.com/users/gdamore","html_url":"https://github.com/gdamore","followers_url":"https://api.github.com/users/gdamore/followers","following_url":"https://api.github.com/users/gdamore/following{/other_user}","gists_url":"https://api.github.com/users/gdamore/gists{/gist_id}","starred_url":"https://api.github.com/users/gdamore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdamore/subscriptions","organizations_url":"https://api.github.com/users/gdamore/orgs","repos_url":"https://api.github.com/users/gdamore/repos","events_url":"https://api.github.com/users/gdamore/events{/privacy}","received_events_url":"https://api.github.com/users/gdamore/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-27T23:40:06Z","updated_at":"2015-10-27T23:42:35Z","closed_at":"2015-10-27T23:42:35Z","body":"Using a CIE algorithm, we can find the best matching color for a given RGB value, from the colors that are available in the console.  This means in theory we could just use RGB value based colors, without worrying about what colors are supported, because the code can find the \"best\" fitting color.\r\n\r\nThis is a substantial step towards full 24-bit color support.\r\n\r\nThe next step will be adding support for 24-bit color codes directly for terminals that have them, but that requires us to define some new terminal database capability, as terminfo doesn't know anything about this."}}