Skip to content

UI & Design

HTML/CSS Color Guide

Free

Color usage and styling rules for HTML elements so designs stay accessible and professional.

Difficulty foundational
Version v1.1

Purpose

Install the original HTML/CSS Color Guide instruction file from github/awesome-copilot and use it in GitHub Copilot.

Procedure

--- name: copilot-html-css-color-guide description: Color usage and styling rules for HTML elements so designs stay accessible and professional. ---

HTML/CSS Color Guide

Purpose

Install the original HTML/CSS Color Guide instruction file from github/awesome-copilot and use it in GitHub Copilot.

Procedure

Source: https://github.com/github/awesome-copilot/blob/main/instructions/html-css-style-color-guide.instructions.md Maintainer: GitHub (github/awesome-copilot). Skilling lists this instruction file; the original lives in that repository.

Install

mkdir -p .github/instructions
curl -fsSL https://raw.githubusercontent.com/github/awesome-copilot/main/instructions/html-css-style-color-guide.instructions.md -o .github/instructions/html-css-style-color-guide.instructions.md

Run this in the root of your repository. Copilot applies the file to the paths in its applyTo line. Commit the file so the whole team gets it.

What it does

  • Accessible color use
  • Styling rules for HTML
  • Applies to .html, .css and .js

How to use it

Copilot applies it to HTML, CSS and JS files.

Example requests

1. Use HTML/CSS Color Guide

Request: Copilot applies it to HTML, CSS and JS files. Expected: Accessible color use.

Dependencies

GitHub Copilot in a repository, and curl.

Compatibility

This document follows the Agent Skills layout (a folder named copilot-html-css-color-guide containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it.

Example prompts

Use HTML/CSS Color Guide

Copilot applies it to HTML, CSS and JS files.

Expected: Accessible color use.

Choose the agent

This skill is installed for one agent at a time. Pick the section you are using.

Related

  • Accessibility (WCAG 2.2)

    Web accessibility standards based on WCAG 2.2 AA, with common anti-patterns, ARIA patterns and framework fixes.

  • Tailwind v4 + Vite

    Set up and use Tailwind CSS v4 in Vite projects with the official @tailwindcss/vite plugin.

  • Next.js App Router

    Best practices for Next.js App Router apps: caching, tooling and server/client boundaries.

Reviews

No reviews yet.

    Sign in to review.

    Report a problem

    Inaccurate steps, an unsafe instruction, or a licensing concern.

    Sign in to report.