Bug 147143 - Web Inspector: Convert CSS colors from RGB to HSL color scheme
Summary: Web Inspector: Convert CSS colors from RGB to HSL color scheme
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-07-21 00:07 PDT by Nikita Vasilyev
Modified: 2015-07-21 09:56 PDT (History)
8 users (show)

See Also:


Attachments
Patch (120.43 KB, patch)
2015-07-21 00:09 PDT, Nikita Vasilyev
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2015-07-21 00:07:05 PDT
HSL color scheme is more human friendly than RGB.

RGB -> HSL
RGB hex (e.g. #bada55 or #456) -> HSL
RGBA -> HSLA
Named colors (white, black, lightgoldenrodyellow) are unchanged.

via https://bugs.webkit.org/show_bug.cgi?id=146619#c9
Comment 1 Radar WebKit Bug Importer 2015-07-21 00:07:35 PDT
<rdar://problem/21915387>
Comment 2 Nikita Vasilyev 2015-07-21 00:09:37 PDT
Created attachment 257166 [details]
Patch
Comment 3 WebKit Commit Bot 2015-07-21 09:56:02 PDT
Comment on attachment 257166 [details]
Patch

Clearing flags on attachment: 257166

Committed r187105: <http://trac.webkit.org/changeset/187105>
Comment 4 WebKit Commit Bot 2015-07-21 09:56:05 PDT
All reviewed patches have been landed.  Closing bug.