Skip to content
This repository has been archived by the owner on Sep 23, 2018. It is now read-only.

Use \definecolor ... {gray} ... rather than ... {rgb} ... whenever possible #48

Open
zackw opened this issue Dec 4, 2011 · 3 comments
Labels

Comments

@zackw
Copy link

zackw commented Dec 4, 2011

Whenever a color to be used is a shade of gray (r=g=b), tikzDevice should define it with the {gray} model rather than the {rgb} model.

@Sharpie
Copy link
Owner

Sharpie commented Dec 4, 2011

When compiled by TeX, TikZ converts everything to the CMKY color space. Because of this, I'm not sure what we would gain for the price of increased complexity in the code.

@zackw
Copy link
Author

zackw commented Dec 4, 2011

When compiled by TeX, TikZ converts everything to the CMKY color space.

That's not what it's doing for me. \definecolor in the RGB space produces a b c RG/rg commands in the PDF, whereas the gray space produces x G/g.

@krlmlr
Copy link

krlmlr commented Nov 10, 2014

Fixed in daqana#70.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants