---
id: w3css-colors
title: "W3CSS Colors"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["w3-color classes", "W3.CSS 색상"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.89
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["w3css", "css-framework", "w3schools", "colors"]
raw_sources: ["https://www.w3schools.com/w3css/w3css_colors.asp"]
applied_in: []
github_commit: ""
---

# [[W3CSS Colors]]

## 🎯 한 줄 통찰 (One-line insight)
W3.CSS applies its color system through THREE distinct class families that can combine on one element — `w3-color` (background), `w3-text-color` (text), and `w3-hover-color`/`w3-hover-text-color` (hover state) — meaning a single `<div>` can have a different background, text, and hover behavior each independently controlled by its own class. [S1]

## 🧠 핵심 개념 (Core concepts)
- **`w3-COLORNAME`** — sets background color (e.g. `w3-red`, `w3-teal`). [S1]
- **`w3-text-COLORNAME`** — sets text color. [S1]
- **`w3-hover-COLORNAME`** / **`w3-hover-text-COLORNAME`** — sets background/text color specifically on hover. [S1]
- **Gray/grey interchangeable** — both spellings work in all W3.CSS classes. [S1]
- **Color libraries beyond the default palette** — Windows Colors, Fashion Colors, Highway Colors, each requiring a separate library link (detailed in later chapters). [S1]
- **Version 5 additions** — Paper, Cobalt, Emerald, Olive, Taupe, Sienna, Crimson, Asphalt, plus semantic names Danger, Warning, Note, Info, Success. [S1]

## 📖 세부 내용 (Details)
- Background color: `<div class="w3-red"><h2>London</h2><p>...</p></div>`. [S1]
- Text color: `<div class="w3-text-red"><h2>London</h2><p>...</p></div>`. [S1]
- Background hover color: `<div class="w3-container w3-orange w3-hover-red"><h2>London</h2></div>`. [S1]
- Text hover color: `<div class="w3-container w3-orange w3-hover-text-white"><h2>London</h2></div>`. [S1]

## ⚖️ 모순 및 업데이트 (Contradictions & updates)
소스에서 모순되는 정보는 발견되지 않음.

## 🛠️ 적용 사례 (Applied in summary)
현재 발견된 실제 적용 사례가 없습니다 — 배경색/텍스트색/호버색을 독립적으로 조합하는 것이 W3.CSS 색상 시스템의 핵심 활용 패턴이다. [S1]

## 💻 코드 패턴 (Code patterns)
Independent background, text, and hover color classes on one element (HTML):
```html
<div class="w3-container w3-orange w3-hover-red w3-text-white">
  <h2>London</h2>
</div>
```

## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
- **신뢰 점수:** 0.89
- **중복 검사 결과:** 신규 생성 (New discovery)

## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[W3.CSS Tutorial]]
- **관련 개념:** [[W3CSS Intro]], [[W3CSS Containers]], [[W3CSS Color Classes]], [[W3CSS Color Themes]]
- **참조 맥락:** 색상 시스템의 개요 — 컨테이너(Containers) 챕터로 이어지며, 세부 색상 참조는 Color Reference 섹션에서 심화.

## 📚 출처 (Sources)
- [S1] W3Schools — W3.CSS Colors — https://www.w3schools.com/w3css/w3css_colors.asp

## 📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Colors" page (Astra wiki-curation, P-Reinforce v3.1 format).
