Customized color doesn't work for theme color in Metropolis
I used the code below to setup my template in beamer. It only gave the defualt theme color. Would anyone please tell me how to fix this problem? Thanks.
usetheme[progressbar=frametitle]{metropolis}
useoutertheme{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usecolortheme[named=myblue]{structure}
beamer color beamer-metropolis
add a comment |
I used the code below to setup my template in beamer. It only gave the defualt theme color. Would anyone please tell me how to fix this problem? Thanks.
usetheme[progressbar=frametitle]{metropolis}
useoutertheme{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usecolortheme[named=myblue]{structure}
beamer color beamer-metropolis
Welcome to TeX.SX! Why do you want to use the color theme structure?
– TeXnician
Jun 4 '17 at 17:18
Thanks for editing my original post! I watched a tutorial when I started using beamer. The instructor said that you have to use structure whenever you use a customized color. I tried my code without structure. It didn't work either. I don't know what else I should use.
– ScarlettQOM
Jun 4 '17 at 17:24
Well, the instructor was not fully right. Which color do you want to change?
– TeXnician
Jun 4 '17 at 17:26
I'd like to change the default theme color(dark greenish) to "myblue". Thanks.
– ScarlettQOM
Jun 4 '17 at 17:29
add a comment |
I used the code below to setup my template in beamer. It only gave the defualt theme color. Would anyone please tell me how to fix this problem? Thanks.
usetheme[progressbar=frametitle]{metropolis}
useoutertheme{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usecolortheme[named=myblue]{structure}
beamer color beamer-metropolis
I used the code below to setup my template in beamer. It only gave the defualt theme color. Would anyone please tell me how to fix this problem? Thanks.
usetheme[progressbar=frametitle]{metropolis}
useoutertheme{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usecolortheme[named=myblue]{structure}
beamer color beamer-metropolis
beamer color beamer-metropolis
edited Jan 18 at 12:44
samcarter
88.1k797281
88.1k797281
asked Jun 4 '17 at 17:16
ScarlettQOMScarlettQOM
61
61
Welcome to TeX.SX! Why do you want to use the color theme structure?
– TeXnician
Jun 4 '17 at 17:18
Thanks for editing my original post! I watched a tutorial when I started using beamer. The instructor said that you have to use structure whenever you use a customized color. I tried my code without structure. It didn't work either. I don't know what else I should use.
– ScarlettQOM
Jun 4 '17 at 17:24
Well, the instructor was not fully right. Which color do you want to change?
– TeXnician
Jun 4 '17 at 17:26
I'd like to change the default theme color(dark greenish) to "myblue". Thanks.
– ScarlettQOM
Jun 4 '17 at 17:29
add a comment |
Welcome to TeX.SX! Why do you want to use the color theme structure?
– TeXnician
Jun 4 '17 at 17:18
Thanks for editing my original post! I watched a tutorial when I started using beamer. The instructor said that you have to use structure whenever you use a customized color. I tried my code without structure. It didn't work either. I don't know what else I should use.
– ScarlettQOM
Jun 4 '17 at 17:24
Well, the instructor was not fully right. Which color do you want to change?
– TeXnician
Jun 4 '17 at 17:26
I'd like to change the default theme color(dark greenish) to "myblue". Thanks.
– ScarlettQOM
Jun 4 '17 at 17:29
Welcome to TeX.SX! Why do you want to use the color theme structure?
– TeXnician
Jun 4 '17 at 17:18
Welcome to TeX.SX! Why do you want to use the color theme structure?
– TeXnician
Jun 4 '17 at 17:18
Thanks for editing my original post! I watched a tutorial when I started using beamer. The instructor said that you have to use structure whenever you use a customized color. I tried my code without structure. It didn't work either. I don't know what else I should use.
– ScarlettQOM
Jun 4 '17 at 17:24
Thanks for editing my original post! I watched a tutorial when I started using beamer. The instructor said that you have to use structure whenever you use a customized color. I tried my code without structure. It didn't work either. I don't know what else I should use.
– ScarlettQOM
Jun 4 '17 at 17:24
Well, the instructor was not fully right. Which color do you want to change?
– TeXnician
Jun 4 '17 at 17:26
Well, the instructor was not fully right. Which color do you want to change?
– TeXnician
Jun 4 '17 at 17:26
I'd like to change the default theme color(dark greenish) to "myblue". Thanks.
– ScarlettQOM
Jun 4 '17 at 17:29
I'd like to change the default theme color(dark greenish) to "myblue". Thanks.
– ScarlettQOM
Jun 4 '17 at 17:29
add a comment |
1 Answer
1
active
oldest
votes
Just a word of advice: You should use the metropolis color theme when you use metropolis. There's a simple way to adjust the colors documented in section 3.2 of the manual.
Here's what a corrected version of your code would look like (do not use the main theme, just the components).

documentclass{beamer}
%usetheme{metropolis}
useoutertheme[progressbar=frametitle]{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usecolortheme[named=myblue]{structure}
begin{document}
section{Test}
begin{frame}{Test}
Test
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
Update: The following uses the custom color just for the dark gray (not green) parts (title).

documentclass{beamer}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usetheme[progressbar=frametitle]{metropolis}
useoutertheme{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
%usecolortheme[named=myblue]{structure}
setbeamercolor{frametitle}{bg=myblue}
begin{document}
section{Test}
begin{frame}{Test}
begin{exampleblock}{Test}
ADF
end{exampleblock}
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
I'd like to change the dark green bar part to blue and keep the text in black. Sorry, I'm still learning how to post properly. lol
– ScarlettQOM
Jun 4 '17 at 17:41
@ScarlettQOM Dark green bar? The bar is orange by default (and the backround of the title gray).
– TeXnician
Jun 4 '17 at 17:41
@ScarlettQOM See my updated post.
– TeXnician
Jun 4 '17 at 17:46
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%2f373242%2fcustomized-color-doesnt-work-for-theme-color-in-metropolis%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
Just a word of advice: You should use the metropolis color theme when you use metropolis. There's a simple way to adjust the colors documented in section 3.2 of the manual.
Here's what a corrected version of your code would look like (do not use the main theme, just the components).

documentclass{beamer}
%usetheme{metropolis}
useoutertheme[progressbar=frametitle]{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usecolortheme[named=myblue]{structure}
begin{document}
section{Test}
begin{frame}{Test}
Test
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
Update: The following uses the custom color just for the dark gray (not green) parts (title).

documentclass{beamer}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usetheme[progressbar=frametitle]{metropolis}
useoutertheme{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
%usecolortheme[named=myblue]{structure}
setbeamercolor{frametitle}{bg=myblue}
begin{document}
section{Test}
begin{frame}{Test}
begin{exampleblock}{Test}
ADF
end{exampleblock}
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
I'd like to change the dark green bar part to blue and keep the text in black. Sorry, I'm still learning how to post properly. lol
– ScarlettQOM
Jun 4 '17 at 17:41
@ScarlettQOM Dark green bar? The bar is orange by default (and the backround of the title gray).
– TeXnician
Jun 4 '17 at 17:41
@ScarlettQOM See my updated post.
– TeXnician
Jun 4 '17 at 17:46
add a comment |
Just a word of advice: You should use the metropolis color theme when you use metropolis. There's a simple way to adjust the colors documented in section 3.2 of the manual.
Here's what a corrected version of your code would look like (do not use the main theme, just the components).

documentclass{beamer}
%usetheme{metropolis}
useoutertheme[progressbar=frametitle]{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usecolortheme[named=myblue]{structure}
begin{document}
section{Test}
begin{frame}{Test}
Test
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
Update: The following uses the custom color just for the dark gray (not green) parts (title).

documentclass{beamer}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usetheme[progressbar=frametitle]{metropolis}
useoutertheme{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
%usecolortheme[named=myblue]{structure}
setbeamercolor{frametitle}{bg=myblue}
begin{document}
section{Test}
begin{frame}{Test}
begin{exampleblock}{Test}
ADF
end{exampleblock}
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
I'd like to change the dark green bar part to blue and keep the text in black. Sorry, I'm still learning how to post properly. lol
– ScarlettQOM
Jun 4 '17 at 17:41
@ScarlettQOM Dark green bar? The bar is orange by default (and the backround of the title gray).
– TeXnician
Jun 4 '17 at 17:41
@ScarlettQOM See my updated post.
– TeXnician
Jun 4 '17 at 17:46
add a comment |
Just a word of advice: You should use the metropolis color theme when you use metropolis. There's a simple way to adjust the colors documented in section 3.2 of the manual.
Here's what a corrected version of your code would look like (do not use the main theme, just the components).

documentclass{beamer}
%usetheme{metropolis}
useoutertheme[progressbar=frametitle]{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usecolortheme[named=myblue]{structure}
begin{document}
section{Test}
begin{frame}{Test}
Test
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
Update: The following uses the custom color just for the dark gray (not green) parts (title).

documentclass{beamer}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usetheme[progressbar=frametitle]{metropolis}
useoutertheme{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
%usecolortheme[named=myblue]{structure}
setbeamercolor{frametitle}{bg=myblue}
begin{document}
section{Test}
begin{frame}{Test}
begin{exampleblock}{Test}
ADF
end{exampleblock}
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
Just a word of advice: You should use the metropolis color theme when you use metropolis. There's a simple way to adjust the colors documented in section 3.2 of the manual.
Here's what a corrected version of your code would look like (do not use the main theme, just the components).

documentclass{beamer}
%usetheme{metropolis}
useoutertheme[progressbar=frametitle]{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usecolortheme[named=myblue]{structure}
begin{document}
section{Test}
begin{frame}{Test}
Test
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
Update: The following uses the custom color just for the dark gray (not green) parts (title).

documentclass{beamer}
definecolor{myblue}{rgb}{0.19,0.55,0.91}
usetheme[progressbar=frametitle]{metropolis}
useoutertheme{metropolis}
useinnertheme{metropolis}
setbeamercolor{background canvas}{bg=white}
%usecolortheme[named=myblue]{structure}
setbeamercolor{frametitle}{bg=myblue}
begin{document}
section{Test}
begin{frame}{Test}
begin{exampleblock}{Test}
ADF
end{exampleblock}
end{frame}
section{Blub}
begin{frame}{Test}
Test
end{frame}
section{Quack}
begin{frame}{Test}
Test
end{frame}
end{document}
edited Jun 4 '17 at 17:46
answered Jun 4 '17 at 17:28
TeXnicianTeXnician
24.8k63187
24.8k63187
I'd like to change the dark green bar part to blue and keep the text in black. Sorry, I'm still learning how to post properly. lol
– ScarlettQOM
Jun 4 '17 at 17:41
@ScarlettQOM Dark green bar? The bar is orange by default (and the backround of the title gray).
– TeXnician
Jun 4 '17 at 17:41
@ScarlettQOM See my updated post.
– TeXnician
Jun 4 '17 at 17:46
add a comment |
I'd like to change the dark green bar part to blue and keep the text in black. Sorry, I'm still learning how to post properly. lol
– ScarlettQOM
Jun 4 '17 at 17:41
@ScarlettQOM Dark green bar? The bar is orange by default (and the backround of the title gray).
– TeXnician
Jun 4 '17 at 17:41
@ScarlettQOM See my updated post.
– TeXnician
Jun 4 '17 at 17:46
I'd like to change the dark green bar part to blue and keep the text in black. Sorry, I'm still learning how to post properly. lol
– ScarlettQOM
Jun 4 '17 at 17:41
I'd like to change the dark green bar part to blue and keep the text in black. Sorry, I'm still learning how to post properly. lol
– ScarlettQOM
Jun 4 '17 at 17:41
@ScarlettQOM Dark green bar? The bar is orange by default (and the backround of the title gray).
– TeXnician
Jun 4 '17 at 17:41
@ScarlettQOM Dark green bar? The bar is orange by default (and the backround of the title gray).
– TeXnician
Jun 4 '17 at 17:41
@ScarlettQOM See my updated post.
– TeXnician
Jun 4 '17 at 17:46
@ScarlettQOM See my updated post.
– TeXnician
Jun 4 '17 at 17:46
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%2f373242%2fcustomized-color-doesnt-work-for-theme-color-in-metropolis%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
Welcome to TeX.SX! Why do you want to use the color theme structure?
– TeXnician
Jun 4 '17 at 17:18
Thanks for editing my original post! I watched a tutorial when I started using beamer. The instructor said that you have to use structure whenever you use a customized color. I tried my code without structure. It didn't work either. I don't know what else I should use.
– ScarlettQOM
Jun 4 '17 at 17:24
Well, the instructor was not fully right. Which color do you want to change?
– TeXnician
Jun 4 '17 at 17:26
I'd like to change the default theme color(dark greenish) to "myblue". Thanks.
– ScarlettQOM
Jun 4 '17 at 17:29