📚 陰陽五行カラーCSS v1.3 実装サンプル集

このページでは、陰陽五行カラーCSS v1.3の実際の使用例を、コピペ可能なコードと実際の表示結果で紹介します。

🎨 1. 基本の十干・十二支

十干(天干)の表示

<span class="stem-kyou">甲</span> <span class="stem-otsu">乙</span> <span class="stem-hei">丙</span> <span class="stem-tei">丁</span> <span class="stem-bo">戊</span> <span class="stem-ki">己</span> <span class="stem-kou">庚</span> <span class="stem-shin">辛</span> <span class="stem-jin">壬</span> <span class="stem-kai">癸</span>
表示結果:

十二支(地支)の表示

<span class="branch-ne">子</span> <span class="branch-ushi">丑</span> <span class="branch-tora">寅</span> <span class="branch-u">卯</span> <span class="branch-tatsu">辰</span> <span class="branch-mi">巳</span> <span class="branch-uma">午</span> <span class="branch-hitsuji">未</span> <span class="branch-saru">申</span> <span class="branch-tori">酉</span> <span class="branch-inu">戌</span> <span class="branch-i">亥</span>
表示結果:

🐲 2. 干支ペア(年柱・月柱・日柱・時柱)

基本的な干支の組み合わせ

<span class="stem-hei">丙</span><span class="branch-uma">午</span> (ひのえうま) <span class="stem-kai">癸</span><span class="branch-u">卯</span> (みずのとう) <span class="stem-kyou">甲</span><span class="branch-tatsu">辰</span> (きのえたつ) <span class="stem-shin">辛</span><span class="branch-tori">酉</span> (かのととり)
表示結果:
(ひのえうま)
(みずのとう)
(きのえたつ)
(かのととり)

📈 3. 年運遷移の可視化

2023-2026年の五行遷移

<h4>■ 2023|<span class="stem-kai">癸</span><span class="branch-u">卯</span>(みずのとう)── 水と木の「芽吹き」</h4> <h4>■ 2024|<span class="stem-kyou">甲</span><span class="branch-tatsu">辰</span>(きのえたつ)── 木と土の「成長基盤」</h4> <h4>■ 2025|<span class="stem-otsu">乙</span><span class="branch-mi">巳</span>(きのとみ)── 木と火が交わり、"燃え始める"</h4> <h4>■ 2026|<span class="stem-hei">丙</span><span class="branch-uma">午</span>(ひのえうま)── 火と火の「最強発火」</h4>

■ 2023|(みずのとう)── 水と木の「芽吹き」

■ 2024|(きのえたつ)── 木と土の「成長基盤」

■ 2025|(きのとみ)── 木と火が交わり、"燃え始める"

■ 2026|(ひのえうま)── 火と火の「最強発火」

効果: 薄青→濃緑→薄緑→濃赤という色の流れで、年運の五行遷移が一目で理解できます。

🗂️ 4. 命式(四柱推命)

四柱の表示例

<table> <tr> <th>年柱</th> <th>月柱</th> <th>日柱</th> <th>時柱</th> </tr> <tr> <td><span class="stem-hei">丙</span><span class="branch-uma">午</span></td> <td><span class="stem-ki">己</span><span class="branch-mi">巳</span></td> <td><span class="stem-kai">癸</span><span class="branch-ushi">丑</span></td> <td><span class="stem-kyou">甲</span><span class="branch-tora">寅</span></td> </tr> </table>
年柱 月柱 日柱 時柱

⏰ 5. 大運・流年の表示

大運の10年周期

<ul> <li>10-19歳:<span class="stem-kou">庚</span><span class="branch-uma">午</span></li> <li>20-29歳:<span class="stem-shin">辛</span><span class="branch-hitsuji">未</span></li> <li>30-39歳:<span class="stem-jin">壬</span><span class="branch-saru">申</span></li> <li>40-49歳:<span class="stem-kai">癸</span><span class="branch-tori">酉</span></li> </ul>
  • 10-19歳:
  • 20-29歳:
  • 30-39歳:
  • 40-49歳:

💕 6. 相性・関係性の表示

五行の相生・相克関係

<p><span class="stem-kyou">木</span>が<span class="stem-hei">火</span>を生む(相生)</p> <p><span class="stem-jin">水</span>が<span class="stem-kyou">木</span>を生む(相生)</p> <p><span class="stem-kou">金</span>が<span class="stem-kyou">木</span>を剋す(相克)</p> <p><span class="stem-hei">火</span>が<span class="stem-kou">金</span>を剋す(相克)</p>

を生む(相生)

を生む(相生)

を剋す(相克)

を剋す(相克)

📝 7. 応用:鑑定文への活用

鑑定レポートでの使用例

<h4>あなたの命式分析</h4> <p> 日主<span class="stem-kai">癸</span>は水の陰性で、柔軟で適応力があります。 年干<span class="stem-hei">丙</span>の火が水を温めることで、 温和で人当たりの良い性格を形成しています。 </p> <h4>2024年の運勢</h4> <p> <span class="stem-kyou">甲</span><span class="branch-tatsu">辰</span>年は、 あなたの日主<span class="stem-kai">癸</span>水にとって木を生じる年です。 成長と発展のエネルギーが強く、新しい挑戦に向いています。 </p>

あなたの命式分析

日主は水の陰性で、柔軟で適応力があります。 年干の火が水を温めることで、 温和で人当たりの良い性格を形成しています。

2024年の運勢

年は、 あなたの日主水にとって木を生じる年です。 成長と発展のエネルギーが強く、新しい挑戦に向いています。

📋 8. クラス名完全一覧

十干(Heavenly Stems)

クラス名五行
stem-kyou木(陽)
stem-otsu木(陰)
stem-hei火(陽)
stem-tei火(陰)
stem-bo土(陽)
stem-ki土(陰)
stem-kou金(陽)
stem-shin金(陰)
stem-jin水(陽)
stem-kai水(陰)

十二支(Earthly Branches)

クラス名五行
branch-ne水(陽)
branch-ushi土(陰)
branch-tora木(陽)
branch-u木(陰)
branch-tatsu土(陽)
branch-mi火(陰)
branch-uma火(陽)
branch-hitsuji土(陰)
branch-saru金(陽)
branch-tori金(陰)
branch-inu土(陽)
branch-i水(陰)

🎯 使用時のポイント

💡 効果的な活用方法

⚠️ 注意事項