{
  "schemaVersion": "1.0",
  "item": {
    "slug": "colors",
    "name": "Colors",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/ivangdavila/colors",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/colors",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/colors",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=colors",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/colors"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/colors",
    "agentPageUrl": "https://openagent3.xyz/skills/colors/agent",
    "manifestUrl": "https://openagent3.xyz/skills/colors/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/colors/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Contrast Ratios (WCAG)",
        "body": "LevelNormal TextLarge Text (≥18pt or ≥14pt bold)UI ComponentsAA (minimum)≥ 4.5:1≥ 3:1≥ 3:1AAA (enhanced)≥ 7:1≥ 4.5:1—\n\nCritical thresholds on white background:\n\n#767676 → 4.54:1 ✅ barely passes\n#777777 → 4.47:1 ❌ fails (cannot round up)\n#757575 → 4.6:1 ✅ safe minimum gray\n\nPure colors on white:\n\nRed #FF0000 → 4:1 ❌ fails for normal text\nGreen #00FF00 → 1.4:1 ❌ always fails (never use for text)\nBlue #0000FF → 8.6:1 ✅ passes AAA"
      },
      {
        "title": "Color-Only Information",
        "body": "Never rely on color alone to convey meaning. 8% of men have color vision deficiency.\n\n<!-- ❌ Bad: only color differentiates states -->\n<span class=\"text-green-500\">Active</span>\n<span class=\"text-red-500\">Inactive</span>\n\n<!-- ✅ Good: icon + text + color -->\n<span class=\"text-green-500\">✓ Active</span>\n<span class=\"text-red-500\">✗ Inactive</span>\n\nTest designs in grayscale to verify information is still distinguishable."
      },
      {
        "title": "Semantic Color Tokens",
        "body": "Three-layer architecture for maintainable palettes:\n\n/* Layer 1: Primitives (raw values) */\n--blue-500: #3B82F6;\n--gray-900: #111827;\n\n/* Layer 2: Semantic (roles) */\n--color-primary: var(--blue-500);\n--color-text: var(--gray-900);\n--color-error: var(--red-500);\n\n/* Layer 3: Component (specific use) */\n--btn-primary-bg: var(--color-primary);\n--input-border-error: var(--color-error);\n\nName tokens by function, not appearance: text-primary not text-blue."
      },
      {
        "title": "Dark Mode",
        "body": "Create depth with luminosity, not shadows:\n\n/* Light mode uses shadows for depth */\n/* Dark mode uses surface brightness */\n--surface-0: hsl(220 15% 8%);   /* page background */\n--surface-1: hsl(220 15% 12%);  /* card */\n--surface-2: hsl(220 15% 16%);  /* elevated element */\n--surface-3: hsl(220 15% 20%);  /* modal */\n\nAvoid pure black #000 and pure white #FFF as backgrounds. Use #0a0a0a and #fafafa to reduce eye strain."
      },
      {
        "title": "Neutral Grays",
        "body": "Add a subtle tint of your primary color to grays for cohesion:\n\n/* Instead of pure gray */\n--gray-100: hsl(220 10% 96%);  /* slight blue tint */\n--gray-500: hsl(220 10% 46%);\n--gray-900: hsl(220 10% 10%);\n\nThis creates a more polished, intentional palette."
      },
      {
        "title": "HSL for Variations",
        "body": "HSL makes generating consistent color scales trivial:\n\n--primary-100: hsl(220 90% 95%);\n--primary-300: hsl(220 90% 75%);\n--primary-500: hsl(220 90% 55%);\n--primary-700: hsl(220 90% 35%);\n--primary-900: hsl(220 90% 15%);\n\nSame hue and saturation, only lightness changes."
      },
      {
        "title": "Balance Rule",
        "body": "60-30-10 distribution:\n\n60% dominant (backgrounds, containers)\n30% secondary (cards, sections)\n10% accent (CTAs, highlights)\n\nLimit palette to 3-5 colors plus neutrals. More creates visual noise."
      },
      {
        "title": "Common Mistakes",
        "body": "text-gray-400 or lighter on white background typically fails contrast\nPrimary/accent colors for body text cause eye fatigue—use for headings and CTAs only\nHover states that only change opacity may fail contrast—change hue or lightness\nPurple-to-blue gradients are an AI cliché—choose intentional combinations\nTesting only light mode—dark mode often reveals contrast issues\nRed/green as only differentiator—use icons or text labels alongside"
      },
      {
        "title": "Safe Combinations",
        "body": "SectorPrimarySecondaryWhyFintechNavy #00246BLight Blue #CADCFCTrust + clarityHealthcareLight Blue #89ABE3WhiteCalm + cleanE-commerceRed #F96167Yellow #F9E795Urgency + optimism\n\nAvoid: red + green (colorblindness), adjacent hues (blue + purple), yellow + white (no contrast)."
      }
    ],
    "body": "Contrast Ratios (WCAG)\nLevel\tNormal Text\tLarge Text (≥18pt or ≥14pt bold)\tUI Components\nAA (minimum)\t≥ 4.5:1\t≥ 3:1\t≥ 3:1\nAAA (enhanced)\t≥ 7:1\t≥ 4.5:1\t—\n\nCritical thresholds on white background:\n\n#767676 → 4.54:1 ✅ barely passes\n#777777 → 4.47:1 ❌ fails (cannot round up)\n#757575 → 4.6:1 ✅ safe minimum gray\n\nPure colors on white:\n\nRed #FF0000 → 4:1 ❌ fails for normal text\nGreen #00FF00 → 1.4:1 ❌ always fails (never use for text)\nBlue #0000FF → 8.6:1 ✅ passes AAA\nColor-Only Information\n\nNever rely on color alone to convey meaning. 8% of men have color vision deficiency.\n\n<!-- ❌ Bad: only color differentiates states -->\n<span class=\"text-green-500\">Active</span>\n<span class=\"text-red-500\">Inactive</span>\n\n<!-- ✅ Good: icon + text + color -->\n<span class=\"text-green-500\">✓ Active</span>\n<span class=\"text-red-500\">✗ Inactive</span>\n\n\nTest designs in grayscale to verify information is still distinguishable.\n\nSemantic Color Tokens\n\nThree-layer architecture for maintainable palettes:\n\n/* Layer 1: Primitives (raw values) */\n--blue-500: #3B82F6;\n--gray-900: #111827;\n\n/* Layer 2: Semantic (roles) */\n--color-primary: var(--blue-500);\n--color-text: var(--gray-900);\n--color-error: var(--red-500);\n\n/* Layer 3: Component (specific use) */\n--btn-primary-bg: var(--color-primary);\n--input-border-error: var(--color-error);\n\n\nName tokens by function, not appearance: text-primary not text-blue.\n\nDark Mode\n\nCreate depth with luminosity, not shadows:\n\n/* Light mode uses shadows for depth */\n/* Dark mode uses surface brightness */\n--surface-0: hsl(220 15% 8%);   /* page background */\n--surface-1: hsl(220 15% 12%);  /* card */\n--surface-2: hsl(220 15% 16%);  /* elevated element */\n--surface-3: hsl(220 15% 20%);  /* modal */\n\n\nAvoid pure black #000 and pure white #FFF as backgrounds. Use #0a0a0a and #fafafa to reduce eye strain.\n\nNeutral Grays\n\nAdd a subtle tint of your primary color to grays for cohesion:\n\n/* Instead of pure gray */\n--gray-100: hsl(220 10% 96%);  /* slight blue tint */\n--gray-500: hsl(220 10% 46%);\n--gray-900: hsl(220 10% 10%);\n\n\nThis creates a more polished, intentional palette.\n\nHSL for Variations\n\nHSL makes generating consistent color scales trivial:\n\n--primary-100: hsl(220 90% 95%);\n--primary-300: hsl(220 90% 75%);\n--primary-500: hsl(220 90% 55%);\n--primary-700: hsl(220 90% 35%);\n--primary-900: hsl(220 90% 15%);\n\n\nSame hue and saturation, only lightness changes.\n\nBalance Rule\n\n60-30-10 distribution:\n\n60% dominant (backgrounds, containers)\n30% secondary (cards, sections)\n10% accent (CTAs, highlights)\n\nLimit palette to 3-5 colors plus neutrals. More creates visual noise.\n\nCommon Mistakes\ntext-gray-400 or lighter on white background typically fails contrast\nPrimary/accent colors for body text cause eye fatigue—use for headings and CTAs only\nHover states that only change opacity may fail contrast—change hue or lightness\nPurple-to-blue gradients are an AI cliché—choose intentional combinations\nTesting only light mode—dark mode often reveals contrast issues\nRed/green as only differentiator—use icons or text labels alongside\nSafe Combinations\nSector\tPrimary\tSecondary\tWhy\nFintech\tNavy #00246B\tLight Blue #CADCFC\tTrust + clarity\nHealthcare\tLight Blue #89ABE3\tWhite\tCalm + clean\nE-commerce\tRed #F96167\tYellow #F9E795\tUrgency + optimism\n\nAvoid: red + green (colorblindness), adjacent hues (blue + purple), yellow + white (no contrast)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/colors",
    "publisherUrl": "https://clawhub.ai/ivangdavila/colors",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/colors",
    "downloadUrl": "https://openagent3.xyz/downloads/colors",
    "agentUrl": "https://openagent3.xyz/skills/colors/agent",
    "manifestUrl": "https://openagent3.xyz/skills/colors/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/colors/agent.md"
  }
}