Customized color doesn't work for theme color in Metropolis












1















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}









share|improve this question

























  • 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
















1















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}









share|improve this question

























  • 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














1












1








1


1






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}









share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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



















  • 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










1 Answer
1






active

oldest

votes


















5














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).



custom



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).



frame 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}





share|improve this answer


























  • 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













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
});


}
});














draft saved

draft discarded


















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









5














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).



custom



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).



frame 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}





share|improve this answer


























  • 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


















5














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).



custom



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).



frame 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}





share|improve this answer


























  • 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
















5












5








5







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).



custom



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).



frame 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}





share|improve this answer















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).



custom



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).



frame 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}






share|improve this answer














share|improve this answer



share|improve this answer








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





















  • 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




















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

How to send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?