← 返回 Skills 市场
jhauga

HTML CSS Style Color Guide

作者 John Haugabook · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
53
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install html-css-style-color-guide
功能描述
Color usage guidelines and styling rules for HTML and CSS elements to ensure accessible, professional designs. Use when creating or updating HTML/CSS styles,...
使用说明 (SKILL.md)

HTML CSS Style Color Guide

Follow these guidelines when updating or creating HTML/CSS styles for browser rendering. Color names represent the full spectrum of their respective hue ranges (e.g., "blue" includes navy, sky blue, etc.).

When to Use This Skill

  • Creating or updating HTML/CSS styles
  • Choosing colors for web page elements
  • Styling backgrounds, text, buttons, cards, or gradients
  • Ensuring accessible color combinations
  • Applying professional color schemes

Color Definitions

  • Hot Colors: Oranges, reds, and yellows
  • Cool Colors: Blues, greens, and purples
  • Neutral Colors: Grays and grayscale variations
  • Binary Colors: Black and white
  • 60-30-10 Rule
    • Primary Color: Use 60% of the time (cool or light color)
    • Secondary Color: Use 30% of the time (cool or light color)
    • Accent: Use 10% of the time (complementary hot color)

Color Usage Guidelines

Balance the colors used by applying the 60-30-10 rule to graphic design elements like backgrounds, buttons, cards, etc...

Background Colors

Never Use:

  • Purple or magenta
  • Red, orange, or yellow
  • Pink
  • Any hot color

Recommended:

  • White or off-white
  • Light cool colors (e.g., light blues, light greens)
  • Subtle neutral tones
  • Light gradients with minimal color shift

Text Colors

Never Use:

  • Yellow (poor contrast and readability)
  • Pink
  • Pure white or light text on light backgrounds
  • Pure black or dark text on dark backgrounds

Recommended:

  • Dark neutral colors (e.g., #1f2328, #24292f)
  • Near-black variations (#000000 to #333333)
    • Ensure background is a light color
  • Dark grays (#4d4d4d, #6c757d)
  • High-contrast combinations for accessibility
  • Near-white variations (#ffffff to #f0f2f3)
    • Ensure background is a dark color

Colors to Avoid

Unless explicitly required by design specifications or user request, avoid:

  • Bright purples and magentas
  • Bright pinks and neon colors
  • Highly saturated hot colors
  • Colors with low contrast ratios (fails WCAG accessibility standards)

Colors to Use Sparingly

Hot Colors (red, orange, yellow):

  • Reserve for critical alerts, warnings, or error messages
  • Use only when conveying urgency or importance
  • Limit to small accent areas rather than large sections
  • Consider alternatives like icons or bold text before using hot colors

Gradients

Apply gradients with subtle color transitions to maintain professional aesthetics.

Best Practices

  • Keep color shifts minimal (e.g., #E6F2FF to #F5F7FA)
  • Use gradients within the same color family
  • Avoid combining hot and cool colors in a single gradient
  • Prefer linear gradients over radial for backgrounds

Appropriate Use Cases

  • Background containers and sections
  • Button hover states and interactive elements
  • Drop shadows and depth effects
  • Header and navigation bars
  • Card components and panels

Additional Resources

安全使用建议
This skill appears safe to install if you want optional guidance for HTML/CSS color choices. It may influence design style preferences, but it does not add executable code or request access to your data or accounts.
功能分析
Type: OpenClaw Skill Name: html-css-style-color-guide Version: 1.0.0 The skill bundle provides legitimate design and accessibility guidelines for HTML/CSS styling, including color usage rules and external links to reputable design resources (e.g., digital.gov, figma.com). No malicious code, data exfiltration, or harmful prompt injection attempts were found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The skill's content is coherent with its stated purpose: guidance for accessible, professional HTML/CSS color choices.
Instruction Scope
The instructions are limited to design and color-selection guidance and include deference to explicit user or design requirements.
Install Mechanism
No install specification, binaries, dependencies, code files, or environment variables are present.
Credentials
The skill does not request filesystem, network, credential, shell, browser, or account access.
Persistence & Privilege
No persistence, background behavior, privilege escalation, or long-running activity is described.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install html-css-style-color-guide
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /html-css-style-color-guide 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release providing color usage and styling guidelines for accessible, professional HTML/CSS designs. - Introduces the 60-30-10 rule for balanced color schemes. - Specifies recommended and prohibited background and text colors to ensure readability and accessibility. - Outlines when to use and avoid hot, cool, and neutral colors. - Includes best practices for using gradients in UI elements. - Provides resource links for further color palette guidance.
元数据
Slug html-css-style-color-guide
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

HTML CSS Style Color Guide 是什么?

Color usage guidelines and styling rules for HTML and CSS elements to ensure accessible, professional designs. Use when creating or updating HTML/CSS styles,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 53 次。

如何安装 HTML CSS Style Color Guide?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install html-css-style-color-guide」即可一键安装,无需额外配置。

HTML CSS Style Color Guide 是免费的吗?

是的,HTML CSS Style Color Guide 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

HTML CSS Style Color Guide 支持哪些平台?

HTML CSS Style Color Guide 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 HTML CSS Style Color Guide?

由 John Haugabook(@jhauga)开发并维护,当前版本 v1.0.0。

💬 留言讨论