<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ray</title>
    <description>The latest articles on DEV Community by Ray (@rayedhasan).</description>
    <link>https://dev.to/rayedhasan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4279165%2F9ca47411-cd7d-46fe-b0ea-3cc18e7729e3.jpg</url>
      <title>DEV Community: Ray</title>
      <link>https://dev.to/rayedhasan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rayedhasan"/>
    <language>en</language>
    <item>
      <title>Why AI-Generated Websites All Look the Same (and How a 1933 Japanese Color Book Fixed It)</title>
      <dc:creator>Ray</dc:creator>
      <pubDate>Wed, 02 Dec 2026 19:41:19 +0000</pubDate>
      <link>https://dev.to/rayedhasan/why-ai-generated-websites-all-look-the-same-and-how-a-1933-japanese-color-book-fixed-it-abj</link>
      <guid>https://dev.to/rayedhasan/why-ai-generated-websites-all-look-the-same-and-how-a-1933-japanese-color-book-fixed-it-abj</guid>
      <description>&lt;p&gt;Ask any AI coding agent to &lt;em&gt;"design a landing page for a calm meditation app"&lt;/em&gt; and 9 times out of 10 you get the exact same dark-indigo background with a purple-to-blue Tailwind gradient.&lt;/p&gt;

&lt;p&gt;Even worse, when you ask it to pick custom colors, it guesses hex codes from memory and frequently fails WCAG text contrast.&lt;/p&gt;

&lt;p&gt;So I packaged all &lt;strong&gt;348 color combinations&lt;/strong&gt; from Sanzo Wada's 1933–34 classic &lt;em&gt;A Dictionary of Color Combinations&lt;/em&gt; into an open-source AI agent skill (&lt;code&gt;SKILL.md&lt;/code&gt;) for Claude Code, Cursor, and Codex:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Rayed-Hasan/sanzo-wada-skills" rel="noopener noreferrer"&gt;https://github.com/Rayed-Hasan/sanzo-wada-skills&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftgwauvqw39oeiwfqgx22.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftgwauvqw39oeiwfqgx22.png" alt="Before and after using Sanzo Wada Color Palettes" width="799" height="434"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why not just paste a JSON file into the prompt?
&lt;/h2&gt;

&lt;p&gt;A 348-palette JSON file is ~500 KB—dumping that into an LLM's context window wastes tokens and degrades attention.&lt;/p&gt;

&lt;p&gt;Instead, the skill gives the agent a zero-dependency Python CLI (&lt;code&gt;scripts/find_palette.py&lt;/code&gt;) and &lt;strong&gt;four strict rules&lt;/strong&gt; in &lt;code&gt;SKILL.md&lt;/code&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Search before guessing:&lt;/strong&gt; Query by &lt;code&gt;--mood&lt;/code&gt;, &lt;code&gt;--use&lt;/code&gt;, &lt;code&gt;--temperature&lt;/code&gt;, &lt;code&gt;--tone&lt;/code&gt;, &lt;code&gt;--size&lt;/code&gt;, or &lt;code&gt;--accessible&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify contrast first:&lt;/strong&gt; Every palette comes with precomputed WCAG &lt;code&gt;AA&lt;/code&gt; / &lt;code&gt;AAA&lt;/code&gt; contrast ratios. If a historical print pair fails body-text contrast, the agent keeps the Wada hues for accents/surfaces and pairs them with a tinted neutral ink/canvas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enforce 60 / 30 / 10:&lt;/strong&gt; &lt;code&gt;60%&lt;/code&gt; background canvas, &lt;code&gt;30%&lt;/code&gt; secondary surfaces/cards, &lt;code&gt;10%&lt;/code&gt; accent/CTAs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stay faithful to the palette:&lt;/strong&gt; Emit semantic CSS custom properties (&lt;code&gt;--color-bg&lt;/code&gt;, &lt;code&gt;--color-text&lt;/code&gt;, &lt;code&gt;--color-accent&lt;/code&gt;) using the exact hex values—deriving hover/border states with &lt;code&gt;color-mix()&lt;/code&gt;, never inventing new hues.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  What the agent actually sees
&lt;/h2&gt;

&lt;p&gt;When you ask for a calm, accessible palette, the agent runs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python scripts/find_palette.py --mood calm --accessible --limit 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And gets structured, contrast-checked output in milliseconds:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;9 match(es)

#119  cool/mid/moderate  moods: calm, professional, trustworthy
  colors: Light Glaucous Blue #a5c8d1 | Dark Tyrian Blue #12354e
  light theme -&amp;gt; bg #a5c8d1  text #12354e (7.16:1 AAA)  accent -  secondary None
  for: fintech, SaaS, healthcare, B2B dashboards; corporate sites, consulting, documentation; wellness, meditation, mental-health, reading apps

#139  cool/mid/moderate  moods: calm, professional, trustworthy
  colors: Salvia Blue #97acc8 | Deep Indigo #051230 | Neutral Gray #b6bfc1
  light theme -&amp;gt; bg #b6bfc1  text #051230 (9.87:1 AAA)  accent #97acc8 (1.24:1 fail)  secondary None
  for: fintech, SaaS, healthcare, B2B dashboards; corporate sites, consulting, documentation; wellness, meditation, mental-health, reading apps
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Try it in 10 seconds
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Claude Code:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Rayed-Hasan/sanzo-wada-skills.git ~/.claude/skills/sanzo-wada-palettes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Cursor / Codex:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Rayed-Hasan/sanzo-wada-skills.git ~/.cursor/skills/sanzo-wada-palettes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's MIT-licensed and only needs Python 3 (standard library only). If you try it on a project, I'd love to see what palette # your agent picks!&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdg0pqsq9wfu58tvym9im.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdg0pqsq9wfu58tvym9im.png" alt=" " width="799" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>design</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
