Note: For single colors as shown here this is unnecessarily complex - color() already specified a fallback, so you could just use that. If not, the "fallback" and "function" object are used to convert the color into an equivalent in a known color-space. If the component is available in the output device (true if converting this CSS to PDF or PostScript, most certainly false otherwise), then it will be used directly. This defines a color-profile with a single component, "Pantone Reflex Blue". I think this is easy to improve upon, but it might be better in a new function instead of overriding color(). I can name the ink, but that's it (and the quantity of ink is distinct from the alpha value if we ignore overprinting, 0% black is not transparent it's white). When specifying CMYK, for example, I can specify 80% cyan, 20% magenta. Either way the ICC profile, defined here as "profilename", is unused.įinally, I have no means of specifying how much ink. Also, I still have to specify the profile (or have it default to sRGB), which makes no sense in this context: If the device has the named ink, it will be used if it doesn't, the fallback (which defines its own color space) will be used. Only a single string is allowed, which means I am limited to using only one ink: from a PDF point-of-view I can define only a Separation color, not the more general DeviceN color. Color: color(profilename "Pantone Reflex Blue CVC", lab(26.18 18.64 -59.95))
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |