Tool (or formula) that to convert RGB color to xcolor code (example of the type red!30!green)
Often I use xcolor
package also to create several and customize kinds of colors.
Many times I use the combination of the page 33 because it's understandable to me:
But to find the exact shade of color, I do a lot of tests, which take even a few hours. Sometimes I use the colors of dvipsnames
, via svgnames
, via x11names
.
I ask if somebody knows an online tool (or a specific formula) that convert me directly an RGB color with a code like, for example, blue!50!yellow
. This question is closely connected to another one that you can find on this link:
https://graphicdesign.stackexchange.com/questions/120490/as-to-known-the-colors-used-in-an-image
I don't want to define a long list of definecolor{name}{model}{color-spec}
(for example definecolor{ultramarine}{RGB}{0,32,96}
) because I forget all the custom colors that I have customized.
color tools
|
show 11 more comments
Often I use xcolor
package also to create several and customize kinds of colors.
Many times I use the combination of the page 33 because it's understandable to me:
But to find the exact shade of color, I do a lot of tests, which take even a few hours. Sometimes I use the colors of dvipsnames
, via svgnames
, via x11names
.
I ask if somebody knows an online tool (or a specific formula) that convert me directly an RGB color with a code like, for example, blue!50!yellow
. This question is closely connected to another one that you can find on this link:
https://graphicdesign.stackexchange.com/questions/120490/as-to-known-the-colors-used-in-an-image
I don't want to define a long list of definecolor{name}{model}{color-spec}
(for example definecolor{ultramarine}{RGB}{0,32,96}
) because I forget all the custom colors that I have customized.
color tools
4
Why don't you use the RGB color value and just define the color that way (give it a name)? Maybe I just don't understand your question…
– TeXnician
Mar 29 at 20:47
4
The problem with colors is that they depends on the medium they are used. With a monitor you use usualy rgb colors, if the pdf should be printed, you should better use cmyk, because printer use them. Now the problem is that rgb is not equal cmyk, more some colors do not exist in the other color modell. Back to the printer: it depends on the used paper how the cmyk is seen after beeing printed. Better printer have mechanism with color profiles to make you see the same color on different papers. That you have to discuss with the printing house for your book. Using colors is not simple!
– Kurt
Mar 29 at 21:19
3
Well, there will be rounding errors converting rgb to cmyk and you do not know if the resulting color is the color you want. Only one thing is sure: the color on monitor is not the color on print, or do you have a special workstation, build to show the color on monitor to be printed (very expensiv!)? ;-) The color specialist can have it ...
– Kurt
Mar 29 at 21:29
2
@Sebastiano What image? Just compile the code posted with pdflatex and you will see that image in a PDF.! So you can add abestcolors
environment in your working document to test any (already defined) color to see how exactly can be defined in any format and how exactly look like in a box (much better than simply look at the colored text or thin lines of the document, where it can be harder appreciate the true tone). What else?
– Fran
Mar 30 at 6:42
2
@Sebastiano I guess that this would be a bit complex. Suppose that you a a RGB color of f0.5 0.5 0.5
what should LaTeX automatically produce?black!50!white
? or why notwhite!50!black
? or simplyblack!50
? or simplygray
? ... or why notmycolor
?
– Fran
Mar 30 at 20:20
|
show 11 more comments
Often I use xcolor
package also to create several and customize kinds of colors.
Many times I use the combination of the page 33 because it's understandable to me:
But to find the exact shade of color, I do a lot of tests, which take even a few hours. Sometimes I use the colors of dvipsnames
, via svgnames
, via x11names
.
I ask if somebody knows an online tool (or a specific formula) that convert me directly an RGB color with a code like, for example, blue!50!yellow
. This question is closely connected to another one that you can find on this link:
https://graphicdesign.stackexchange.com/questions/120490/as-to-known-the-colors-used-in-an-image
I don't want to define a long list of definecolor{name}{model}{color-spec}
(for example definecolor{ultramarine}{RGB}{0,32,96}
) because I forget all the custom colors that I have customized.
color tools
Often I use xcolor
package also to create several and customize kinds of colors.
Many times I use the combination of the page 33 because it's understandable to me:
But to find the exact shade of color, I do a lot of tests, which take even a few hours. Sometimes I use the colors of dvipsnames
, via svgnames
, via x11names
.
I ask if somebody knows an online tool (or a specific formula) that convert me directly an RGB color with a code like, for example, blue!50!yellow
. This question is closely connected to another one that you can find on this link:
https://graphicdesign.stackexchange.com/questions/120490/as-to-known-the-colors-used-in-an-image
I don't want to define a long list of definecolor{name}{model}{color-spec}
(for example definecolor{ultramarine}{RGB}{0,32,96}
) because I forget all the custom colors that I have customized.
color tools
color tools
edited Mar 29 at 21:05
Sebastiano
asked Mar 29 at 20:42
SebastianoSebastiano
11.2k42166
11.2k42166
4
Why don't you use the RGB color value and just define the color that way (give it a name)? Maybe I just don't understand your question…
– TeXnician
Mar 29 at 20:47
4
The problem with colors is that they depends on the medium they are used. With a monitor you use usualy rgb colors, if the pdf should be printed, you should better use cmyk, because printer use them. Now the problem is that rgb is not equal cmyk, more some colors do not exist in the other color modell. Back to the printer: it depends on the used paper how the cmyk is seen after beeing printed. Better printer have mechanism with color profiles to make you see the same color on different papers. That you have to discuss with the printing house for your book. Using colors is not simple!
– Kurt
Mar 29 at 21:19
3
Well, there will be rounding errors converting rgb to cmyk and you do not know if the resulting color is the color you want. Only one thing is sure: the color on monitor is not the color on print, or do you have a special workstation, build to show the color on monitor to be printed (very expensiv!)? ;-) The color specialist can have it ...
– Kurt
Mar 29 at 21:29
2
@Sebastiano What image? Just compile the code posted with pdflatex and you will see that image in a PDF.! So you can add abestcolors
environment in your working document to test any (already defined) color to see how exactly can be defined in any format and how exactly look like in a box (much better than simply look at the colored text or thin lines of the document, where it can be harder appreciate the true tone). What else?
– Fran
Mar 30 at 6:42
2
@Sebastiano I guess that this would be a bit complex. Suppose that you a a RGB color of f0.5 0.5 0.5
what should LaTeX automatically produce?black!50!white
? or why notwhite!50!black
? or simplyblack!50
? or simplygray
? ... or why notmycolor
?
– Fran
Mar 30 at 20:20
|
show 11 more comments
4
Why don't you use the RGB color value and just define the color that way (give it a name)? Maybe I just don't understand your question…
– TeXnician
Mar 29 at 20:47
4
The problem with colors is that they depends on the medium they are used. With a monitor you use usualy rgb colors, if the pdf should be printed, you should better use cmyk, because printer use them. Now the problem is that rgb is not equal cmyk, more some colors do not exist in the other color modell. Back to the printer: it depends on the used paper how the cmyk is seen after beeing printed. Better printer have mechanism with color profiles to make you see the same color on different papers. That you have to discuss with the printing house for your book. Using colors is not simple!
– Kurt
Mar 29 at 21:19
3
Well, there will be rounding errors converting rgb to cmyk and you do not know if the resulting color is the color you want. Only one thing is sure: the color on monitor is not the color on print, or do you have a special workstation, build to show the color on monitor to be printed (very expensiv!)? ;-) The color specialist can have it ...
– Kurt
Mar 29 at 21:29
2
@Sebastiano What image? Just compile the code posted with pdflatex and you will see that image in a PDF.! So you can add abestcolors
environment in your working document to test any (already defined) color to see how exactly can be defined in any format and how exactly look like in a box (much better than simply look at the colored text or thin lines of the document, where it can be harder appreciate the true tone). What else?
– Fran
Mar 30 at 6:42
2
@Sebastiano I guess that this would be a bit complex. Suppose that you a a RGB color of f0.5 0.5 0.5
what should LaTeX automatically produce?black!50!white
? or why notwhite!50!black
? or simplyblack!50
? or simplygray
? ... or why notmycolor
?
– Fran
Mar 30 at 20:20
4
4
Why don't you use the RGB color value and just define the color that way (give it a name)? Maybe I just don't understand your question…
– TeXnician
Mar 29 at 20:47
Why don't you use the RGB color value and just define the color that way (give it a name)? Maybe I just don't understand your question…
– TeXnician
Mar 29 at 20:47
4
4
The problem with colors is that they depends on the medium they are used. With a monitor you use usualy rgb colors, if the pdf should be printed, you should better use cmyk, because printer use them. Now the problem is that rgb is not equal cmyk, more some colors do not exist in the other color modell. Back to the printer: it depends on the used paper how the cmyk is seen after beeing printed. Better printer have mechanism with color profiles to make you see the same color on different papers. That you have to discuss with the printing house for your book. Using colors is not simple!
– Kurt
Mar 29 at 21:19
The problem with colors is that they depends on the medium they are used. With a monitor you use usualy rgb colors, if the pdf should be printed, you should better use cmyk, because printer use them. Now the problem is that rgb is not equal cmyk, more some colors do not exist in the other color modell. Back to the printer: it depends on the used paper how the cmyk is seen after beeing printed. Better printer have mechanism with color profiles to make you see the same color on different papers. That you have to discuss with the printing house for your book. Using colors is not simple!
– Kurt
Mar 29 at 21:19
3
3
Well, there will be rounding errors converting rgb to cmyk and you do not know if the resulting color is the color you want. Only one thing is sure: the color on monitor is not the color on print, or do you have a special workstation, build to show the color on monitor to be printed (very expensiv!)? ;-) The color specialist can have it ...
– Kurt
Mar 29 at 21:29
Well, there will be rounding errors converting rgb to cmyk and you do not know if the resulting color is the color you want. Only one thing is sure: the color on monitor is not the color on print, or do you have a special workstation, build to show the color on monitor to be printed (very expensiv!)? ;-) The color specialist can have it ...
– Kurt
Mar 29 at 21:29
2
2
@Sebastiano What image? Just compile the code posted with pdflatex and you will see that image in a PDF.! So you can add a
bestcolors
environment in your working document to test any (already defined) color to see how exactly can be defined in any format and how exactly look like in a box (much better than simply look at the colored text or thin lines of the document, where it can be harder appreciate the true tone). What else?– Fran
Mar 30 at 6:42
@Sebastiano What image? Just compile the code posted with pdflatex and you will see that image in a PDF.! So you can add a
bestcolors
environment in your working document to test any (already defined) color to see how exactly can be defined in any format and how exactly look like in a box (much better than simply look at the colored text or thin lines of the document, where it can be harder appreciate the true tone). What else?– Fran
Mar 30 at 6:42
2
2
@Sebastiano I guess that this would be a bit complex. Suppose that you a a RGB color of f
0.5 0.5 0.5
what should LaTeX automatically produce? black!50!white
? or why not white!50!black
? or simply black!50
? or simply gray
? ... or why not mycolor
?– Fran
Mar 30 at 20:20
@Sebastiano I guess that this would be a bit complex. Suppose that you a a RGB color of f
0.5 0.5 0.5
what should LaTeX automatically produce? black!50!white
? or why not white!50!black
? or simply black!50
? or simply gray
? ... or why not mycolor
?– Fran
Mar 30 at 20:20
|
show 11 more comments
1 Answer
1
active
oldest
votes
You can search the internet with rgb to cmyk
to find free online
calculators to change an rgb color to an cmyk color.
In this case it is important to respect the color profile the printer supposed to print your document is using.
For example you can have a look to https://www.rgb2cmyk.org/ or https://www.pdf2cmyk.com/ for pdf file.
With LaTeX you can use testcolor
(as mentioned in an comment by @Fran, see his answer here) to get an first idea of the used color in different models but that does not respect the needed color profile of the printer ...
At last the only one who can tell you which color values gives the printed color
you want is the printing house you use to publish your document.
Why are colors problematic?
Let us have a look on rgb colors. They are used on monitors or screens.
And that is the problem: the shown color depends on the configuration of
the monitor (contrast, brightness). In other words: if you change the monitor
(or the complete computer) you will see other colors displayed, but still using
the same color value in rgb or cmyk.
To make things worse the used color modell to print colors on paper is cmyk.
And again the real printed color depends on the used paper (thickness,
color of paper) and the used printer, its used ink or toner and the used color profile.
So you can get different printed colors by using the same cmyk value!
To make things more worse the available colors in rgb model and cmyk model are not the same, some of them for example do not exist in the other color model.
To change a rgb value to cmyk (by exactly the rip software of the printing system) there are calculations neseccary resulting in rounding errors. So if you use a rgb value in your latex code/pdf file you can not be sure which cmyk value results.
Conclusion:
To get the best result talk to the printing house publishing your book/document. Ask them which cmyk values for the colors you should use to get the expected result. I'm sure they will ask you not to use too much colors.
Now use definecolor{name}{model}{color-spec}
in your LaTeX code like
definecolor{myred}{cmyk}{0,1,1,0}
to use the named color in your document with textcolor{myred}{This is in red!}
or simular. Or you can name the colors after the reason to use, for example in section, chapter, etc. to be able to remember it easier ...
The main advantage now is that you can very easy change the color value depending on your printing house.
Conclusion:
- Talk with the printing house to define proper printing colors for your document.
- Use the given color values.
- Ignore the shown colors on your monitor. Only the printed result is important. (The only way to get the printed colors shown on the screens you need an expensive special printing system!)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482177%2ftool-or-formula-that-to-convert-rgb-color-to-xcolor-code-example-of-the-type%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can search the internet with rgb to cmyk
to find free online
calculators to change an rgb color to an cmyk color.
In this case it is important to respect the color profile the printer supposed to print your document is using.
For example you can have a look to https://www.rgb2cmyk.org/ or https://www.pdf2cmyk.com/ for pdf file.
With LaTeX you can use testcolor
(as mentioned in an comment by @Fran, see his answer here) to get an first idea of the used color in different models but that does not respect the needed color profile of the printer ...
At last the only one who can tell you which color values gives the printed color
you want is the printing house you use to publish your document.
Why are colors problematic?
Let us have a look on rgb colors. They are used on monitors or screens.
And that is the problem: the shown color depends on the configuration of
the monitor (contrast, brightness). In other words: if you change the monitor
(or the complete computer) you will see other colors displayed, but still using
the same color value in rgb or cmyk.
To make things worse the used color modell to print colors on paper is cmyk.
And again the real printed color depends on the used paper (thickness,
color of paper) and the used printer, its used ink or toner and the used color profile.
So you can get different printed colors by using the same cmyk value!
To make things more worse the available colors in rgb model and cmyk model are not the same, some of them for example do not exist in the other color model.
To change a rgb value to cmyk (by exactly the rip software of the printing system) there are calculations neseccary resulting in rounding errors. So if you use a rgb value in your latex code/pdf file you can not be sure which cmyk value results.
Conclusion:
To get the best result talk to the printing house publishing your book/document. Ask them which cmyk values for the colors you should use to get the expected result. I'm sure they will ask you not to use too much colors.
Now use definecolor{name}{model}{color-spec}
in your LaTeX code like
definecolor{myred}{cmyk}{0,1,1,0}
to use the named color in your document with textcolor{myred}{This is in red!}
or simular. Or you can name the colors after the reason to use, for example in section, chapter, etc. to be able to remember it easier ...
The main advantage now is that you can very easy change the color value depending on your printing house.
Conclusion:
- Talk with the printing house to define proper printing colors for your document.
- Use the given color values.
- Ignore the shown colors on your monitor. Only the printed result is important. (The only way to get the printed colors shown on the screens you need an expensive special printing system!)
add a comment |
You can search the internet with rgb to cmyk
to find free online
calculators to change an rgb color to an cmyk color.
In this case it is important to respect the color profile the printer supposed to print your document is using.
For example you can have a look to https://www.rgb2cmyk.org/ or https://www.pdf2cmyk.com/ for pdf file.
With LaTeX you can use testcolor
(as mentioned in an comment by @Fran, see his answer here) to get an first idea of the used color in different models but that does not respect the needed color profile of the printer ...
At last the only one who can tell you which color values gives the printed color
you want is the printing house you use to publish your document.
Why are colors problematic?
Let us have a look on rgb colors. They are used on monitors or screens.
And that is the problem: the shown color depends on the configuration of
the monitor (contrast, brightness). In other words: if you change the monitor
(or the complete computer) you will see other colors displayed, but still using
the same color value in rgb or cmyk.
To make things worse the used color modell to print colors on paper is cmyk.
And again the real printed color depends on the used paper (thickness,
color of paper) and the used printer, its used ink or toner and the used color profile.
So you can get different printed colors by using the same cmyk value!
To make things more worse the available colors in rgb model and cmyk model are not the same, some of them for example do not exist in the other color model.
To change a rgb value to cmyk (by exactly the rip software of the printing system) there are calculations neseccary resulting in rounding errors. So if you use a rgb value in your latex code/pdf file you can not be sure which cmyk value results.
Conclusion:
To get the best result talk to the printing house publishing your book/document. Ask them which cmyk values for the colors you should use to get the expected result. I'm sure they will ask you not to use too much colors.
Now use definecolor{name}{model}{color-spec}
in your LaTeX code like
definecolor{myred}{cmyk}{0,1,1,0}
to use the named color in your document with textcolor{myred}{This is in red!}
or simular. Or you can name the colors after the reason to use, for example in section, chapter, etc. to be able to remember it easier ...
The main advantage now is that you can very easy change the color value depending on your printing house.
Conclusion:
- Talk with the printing house to define proper printing colors for your document.
- Use the given color values.
- Ignore the shown colors on your monitor. Only the printed result is important. (The only way to get the printed colors shown on the screens you need an expensive special printing system!)
add a comment |
You can search the internet with rgb to cmyk
to find free online
calculators to change an rgb color to an cmyk color.
In this case it is important to respect the color profile the printer supposed to print your document is using.
For example you can have a look to https://www.rgb2cmyk.org/ or https://www.pdf2cmyk.com/ for pdf file.
With LaTeX you can use testcolor
(as mentioned in an comment by @Fran, see his answer here) to get an first idea of the used color in different models but that does not respect the needed color profile of the printer ...
At last the only one who can tell you which color values gives the printed color
you want is the printing house you use to publish your document.
Why are colors problematic?
Let us have a look on rgb colors. They are used on monitors or screens.
And that is the problem: the shown color depends on the configuration of
the monitor (contrast, brightness). In other words: if you change the monitor
(or the complete computer) you will see other colors displayed, but still using
the same color value in rgb or cmyk.
To make things worse the used color modell to print colors on paper is cmyk.
And again the real printed color depends on the used paper (thickness,
color of paper) and the used printer, its used ink or toner and the used color profile.
So you can get different printed colors by using the same cmyk value!
To make things more worse the available colors in rgb model and cmyk model are not the same, some of them for example do not exist in the other color model.
To change a rgb value to cmyk (by exactly the rip software of the printing system) there are calculations neseccary resulting in rounding errors. So if you use a rgb value in your latex code/pdf file you can not be sure which cmyk value results.
Conclusion:
To get the best result talk to the printing house publishing your book/document. Ask them which cmyk values for the colors you should use to get the expected result. I'm sure they will ask you not to use too much colors.
Now use definecolor{name}{model}{color-spec}
in your LaTeX code like
definecolor{myred}{cmyk}{0,1,1,0}
to use the named color in your document with textcolor{myred}{This is in red!}
or simular. Or you can name the colors after the reason to use, for example in section, chapter, etc. to be able to remember it easier ...
The main advantage now is that you can very easy change the color value depending on your printing house.
Conclusion:
- Talk with the printing house to define proper printing colors for your document.
- Use the given color values.
- Ignore the shown colors on your monitor. Only the printed result is important. (The only way to get the printed colors shown on the screens you need an expensive special printing system!)
You can search the internet with rgb to cmyk
to find free online
calculators to change an rgb color to an cmyk color.
In this case it is important to respect the color profile the printer supposed to print your document is using.
For example you can have a look to https://www.rgb2cmyk.org/ or https://www.pdf2cmyk.com/ for pdf file.
With LaTeX you can use testcolor
(as mentioned in an comment by @Fran, see his answer here) to get an first idea of the used color in different models but that does not respect the needed color profile of the printer ...
At last the only one who can tell you which color values gives the printed color
you want is the printing house you use to publish your document.
Why are colors problematic?
Let us have a look on rgb colors. They are used on monitors or screens.
And that is the problem: the shown color depends on the configuration of
the monitor (contrast, brightness). In other words: if you change the monitor
(or the complete computer) you will see other colors displayed, but still using
the same color value in rgb or cmyk.
To make things worse the used color modell to print colors on paper is cmyk.
And again the real printed color depends on the used paper (thickness,
color of paper) and the used printer, its used ink or toner and the used color profile.
So you can get different printed colors by using the same cmyk value!
To make things more worse the available colors in rgb model and cmyk model are not the same, some of them for example do not exist in the other color model.
To change a rgb value to cmyk (by exactly the rip software of the printing system) there are calculations neseccary resulting in rounding errors. So if you use a rgb value in your latex code/pdf file you can not be sure which cmyk value results.
Conclusion:
To get the best result talk to the printing house publishing your book/document. Ask them which cmyk values for the colors you should use to get the expected result. I'm sure they will ask you not to use too much colors.
Now use definecolor{name}{model}{color-spec}
in your LaTeX code like
definecolor{myred}{cmyk}{0,1,1,0}
to use the named color in your document with textcolor{myred}{This is in red!}
or simular. Or you can name the colors after the reason to use, for example in section, chapter, etc. to be able to remember it easier ...
The main advantage now is that you can very easy change the color value depending on your printing house.
Conclusion:
- Talk with the printing house to define proper printing colors for your document.
- Use the given color values.
- Ignore the shown colors on your monitor. Only the printed result is important. (The only way to get the printed colors shown on the screens you need an expensive special printing system!)
edited Apr 1 at 22:18
answered Apr 1 at 22:08
KurtKurt
41k950164
41k950164
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482177%2ftool-or-formula-that-to-convert-rgb-color-to-xcolor-code-example-of-the-type%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
Why don't you use the RGB color value and just define the color that way (give it a name)? Maybe I just don't understand your question…
– TeXnician
Mar 29 at 20:47
4
The problem with colors is that they depends on the medium they are used. With a monitor you use usualy rgb colors, if the pdf should be printed, you should better use cmyk, because printer use them. Now the problem is that rgb is not equal cmyk, more some colors do not exist in the other color modell. Back to the printer: it depends on the used paper how the cmyk is seen after beeing printed. Better printer have mechanism with color profiles to make you see the same color on different papers. That you have to discuss with the printing house for your book. Using colors is not simple!
– Kurt
Mar 29 at 21:19
3
Well, there will be rounding errors converting rgb to cmyk and you do not know if the resulting color is the color you want. Only one thing is sure: the color on monitor is not the color on print, or do you have a special workstation, build to show the color on monitor to be printed (very expensiv!)? ;-) The color specialist can have it ...
– Kurt
Mar 29 at 21:29
2
@Sebastiano What image? Just compile the code posted with pdflatex and you will see that image in a PDF.! So you can add a
bestcolors
environment in your working document to test any (already defined) color to see how exactly can be defined in any format and how exactly look like in a box (much better than simply look at the colored text or thin lines of the document, where it can be harder appreciate the true tone). What else?– Fran
Mar 30 at 6:42
2
@Sebastiano I guess that this would be a bit complex. Suppose that you a a RGB color of f
0.5 0.5 0.5
what should LaTeX automatically produce?black!50!white
? or why notwhite!50!black
? or simplyblack!50
? or simplygray
? ... or why notmycolor
?– Fran
Mar 30 at 20:20