Movatterモバイル変換


[0]ホーム

URL:


Menu
×
See More 
Sign In
+1 Get Certified Upgrade Teachers Spaces Get Certified Upgrade Teachers Spaces
   ❮     
     ❯   

W3.CSSColor Themes


Color Themes

With W3.CSS, it is easy to customize your applications with color themes.

Movies 2014

  • Frozen

    The response to the animations was ridiculous

  • The Fault in Our Stars

    Touching, gripping and genuinely well made

  • The Avengers

    A huge success for Marvel and Disney

«»

Movies 2014

  • Frozen

    The response to the animations was ridiculous

  • The Fault in Our Stars

    Touching, gripping and genuinely well made

  • The Avengers

    A huge success for Marvel and Disney

«»

All you have to do is add a link to a predefined (or home made) theme:

Example

<link rel="stylesheet" href="https://www.w3schools.com/w3css/5/w3.css">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-indigo.css">

Try It Yourself »


Predefined Themes

These are the predefined themes in W3.CSS:

w3-theme-redTry it
w3-theme-pinkTry it
w3-theme-purpleTry it
w3-theme-deep-purpleTry it
w3-theme-indigoTry it
w3-theme-blueTry it
w3-theme-light-blueTry it
w3-theme-cyanTry it
w3-theme-tealTry it
w3-theme-greenTry it
w3-theme-light-greenTry it
w3-theme-limeTry it
w3-theme-khakiTry it
w3-theme-yellowTry it
w3-theme-amberTry it
w3-theme-orangeTry it
w3-theme-deep-orangeTry it
w3-theme-blue-greyTry it
w3-theme-brownTry it
w3-theme-greyTry it
w3-theme-dark-greyTry it
w3-theme-blackTry it
w3-theme-w3schoolsTry it


Adding Gradients

One reader sent us this suggestion: You might want to consider adding a gradient for each theme.

I used the l2 and l1 colors from the blue theme to create this gradient:

Example

.w3-theme-gradient {
  color: #000 !important;
  background:-webkit-linear-gradient(top,#64B5F6 25%,#42A5F5 75%)}
.w3-theme-gradient {
  color: #000 !important;
  background:-moz-linear-gradient(top,#64B5F6 25%,#42A5F5 75%)}
.w3-theme-gradient {
  color: #000 !important;
  background:-o-linear-gradient(top,#64B5F6 25%,#42A5F5 75%)}
.w3-theme-gradient {
  color: #000 !important;
  background:-ms-linear-gradient(top,#64B5F6 25%,#42A5F5 75%)}
.w3-theme-gradient {
  color: #000 !important;
  background: linear-gradient(top,#64B5F6 25%,#42A5F5 75%)}

Try It Yourself »


Downloadable Color Themes

Here are some downloadable color themes inspired by Google's Material Design:

Style SheetDescription
w3-theme-amber.cssColor Theme Amber
w3-theme-black.cssColor Theme Black
w3-theme-blue.cssColor Theme Blue
w3-theme-blue-grey.cssColor Theme Blue Grey
w3-theme-brown.cssColor Theme Brown
w3-theme-cyan.cssColor Theme Cyan
w3-theme-dark-grey.cssColor Theme Dark Grey
w3-theme-deep-orange.cssColor Theme Deep Orange
w3-theme-deep-purple.cssColor Theme Deep Purple
w3-theme-green.cssColor Theme Green
w3-theme-grey.cssColor Theme Grey
w3-theme-indigo.cssColor Theme Indigo
w3-theme-khaki.cssColor Theme Khaki
w3-theme-light-blue.cssColor Theme Light Blue
w3-theme-light-green.cssColor Theme Light Green
w3-theme-lime.cssColor Theme Lime
w3-theme-orange.cssColor Theme Orange
w3-theme-pink.cssColor Theme Pink
w3-theme-purple.cssColor Theme Purple
w3-theme-red.cssColor Theme Red
w3-theme-teal.cssColor Theme Teal
w3-theme-yellow.cssColor Theme Yellow



×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness
of all content. While using W3Schools, you agree to have read and accepted ourterms of use,cookies andprivacy policy.

Copyright 1999-2025 by Refsnes Data. All Rights Reserved.W3Schools is Powered by W3.CSS.


[8]ページ先頭

©2009-2025 Movatter.jp