{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/2315","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/2315/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/2315/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/2315/events","html_url":"https://github.com/dotnet/corefx/issues/2315","id":94412061,"number":2315,"title":"Primitive Color Type for .NET Core","user":{"login":"kendrahavens","id":8293542,"avatar_url":"https://avatars.githubusercontent.com/u/8293542?v=3","gravatar_id":"","url":"https://api.github.com/users/kendrahavens","html_url":"https://github.com/kendrahavens","followers_url":"https://api.github.com/users/kendrahavens/followers","following_url":"https://api.github.com/users/kendrahavens/following{/other_user}","gists_url":"https://api.github.com/users/kendrahavens/gists{/gist_id}","starred_url":"https://api.github.com/users/kendrahavens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kendrahavens/subscriptions","organizations_url":"https://api.github.com/users/kendrahavens/orgs","repos_url":"https://api.github.com/users/kendrahavens/repos","events_url":"https://api.github.com/users/kendrahavens/events{/privacy}","received_events_url":"https://api.github.com/users/kendrahavens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/Design%20Discussion","name":"Design Discussion","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/grabbed%20by%20assignee","name":"grabbed by assignee","color":"009800"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/X-Plat","name":"X-Plat","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"kendrahavens","id":8293542,"avatar_url":"https://avatars.githubusercontent.com/u/8293542?v=3","gravatar_id":"","url":"https://api.github.com/users/kendrahavens","html_url":"https://github.com/kendrahavens","followers_url":"https://api.github.com/users/kendrahavens/followers","following_url":"https://api.github.com/users/kendrahavens/following{/other_user}","gists_url":"https://api.github.com/users/kendrahavens/gists{/gist_id}","starred_url":"https://api.github.com/users/kendrahavens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kendrahavens/subscriptions","organizations_url":"https://api.github.com/users/kendrahavens/orgs","repos_url":"https://api.github.com/users/kendrahavens/repos","events_url":"https://api.github.com/users/kendrahavens/events{/privacy}","received_events_url":"https://api.github.com/users/kendrahavens/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-10T23:22:16Z","updated_at":"2015-07-11T21:02:56Z","closed_at":null,"body":"## Primitive Color Type for .NET Core\r\n\r\nThe previous discussion of primitives showed that color discussion should expand into a separate issue. \r\n\r\nThe primitive discussion was started because many customers wanted to move to the .NET Core, but were blocked by the lack of System.Drawing primitives there. There was much discussion and internal debate over defining Point, Rect, and Size and much of that was fueled by scenarios that you guys cited in the previous primitives issue. (Thank you!) Here we are looking for additional scenarios to discuss the advantages of creating a new Color type for the cross-platform .NET Core Graphics API. Feel free to repost your two cents from the previous primitives issue. Thanks for your input!\r\n\r\nTopics of Interest: (This is where providing scenarios would be awesome)\r\n\r\n1.\tNaming (ColorRgba, sRGB)\r\n2.\tDifferent Color Formats (int8 bits, float 16 bits, float 32 bits, alpha or not) Color4F, Color3F, Color4F\r\n3.\tColor Spaces (conversion issues)\r\n4.\tGamma vs Linear\r\n5.\tExtension Methods (vector operations: lerp, scaling, conversions: from RGB to HSB and reverse, from vectors)\r\n6.\tSemantic parity with CSS\r\n7.\tWinRT Compatibility\r\n\r\nLimit Scope: KnownColors will not be brought over as they don’t always translate well into the cross-platform world depending on the hardware so let’s focus our discussion on defining the Color object for now.\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/120661509","html_url":"https://github.com/dotnet/corefx/issues/2315#issuecomment-120661509","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/2315","id":120661509,"user":{"login":"omariom","id":1781701,"avatar_url":"https://avatars.githubusercontent.com/u/1781701?v=3","gravatar_id":"","url":"https://api.github.com/users/omariom","html_url":"https://github.com/omariom","followers_url":"https://api.github.com/users/omariom/followers","following_url":"https://api.github.com/users/omariom/following{/other_user}","gists_url":"https://api.github.com/users/omariom/gists{/gist_id}","starred_url":"https://api.github.com/users/omariom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omariom/subscriptions","organizations_url":"https://api.github.com/users/omariom/orgs","repos_url":"https://api.github.com/users/omariom/repos","events_url":"https://api.github.com/users/omariom/events{/privacy}","received_events_url":"https://api.github.com/users/omariom/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T21:02:56Z","updated_at":"2015-07-11T21:02:56Z","body":"How is the primitive going it be used? Which graphics technologies will expose or consume it? "}}