Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"green" is not quite green #190

Closed
mikedo opened this issue Dec 19, 2016 · 3 comments · Fixed by #192
Closed

"green" is not quite green #190

mikedo opened this issue Dec 19, 2016 · 3 comments · Fixed by #192
Assignees

Comments

@mikedo
Copy link

mikedo commented Dec 19, 2016

A curiosity of named colors (inherited from SVG) is that “green”, unlike almost all other named colors, is only half-luminance. There is no named color for full luminance green (although some think it is “lightGreen” which is incorrect). One must use the #rrggbb syntax to get full luminance green.

It matters in US closed captions since “green” in CTA-708 is full luminance.

Example 12 uses green and it is in fact set by “#00FF00”. It might be worth a Note about this peculiarity that "green" is not quite green. Or consider elevating to TTML1/TTML2.

@nigelmegitt
Copy link
Contributor

This has been raised and discussed before I believe. There is in fact a named color equivalent to full luminance green, which is lime, which is also a named CSS color. See https://www.w3.org/TR/ttml1/#style-value-namedColor :

<namedColor>
  : "transparent"                           // #00000000
...
  | "lime"                                  // #00ff00ff

@palemieux palemieux added this to the imsc1.1 milestone Dec 19, 2016
@mikedo
Copy link
Author

mikedo commented Dec 19, 2016

Yes, there was a long discussion (I started it in fact). (Apologies for forgetting about "lime" and that distraction.) But my main point is that "green" is not green, at least like the way other colors are defined. And, it is a common mistake to think it is. And a Note would be helpful I think. Putting a Note in TTML1/TTML2 would be good. Using "lime" in the examples (rather than "green" or "#00FF00") would also be good.

@skynavga
Copy link
Contributor

skynavga commented Dec 19, 2016 via email

@palemieux palemieux modified the milestones: imsc1.1, imsc1ed2 Jan 2, 2017
@palemieux palemieux self-assigned this Jan 2, 2017
@palemieux palemieux added pr open and removed pr open labels Jan 3, 2017
@palemieux palemieux removed the pr open label Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants