<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>markboucherのブログ</title>
<link>https://ameblo.jp/markboucher/</link>
<atom:link href="https://rssblog.ameba.jp/markboucher/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>ブログの説明を入力します。</description>
<language>ja</language>
<item>
<title>How to Build a UI Color Palette with a Hex Color</title>
<description>
<![CDATA[ <p data-path-to-node="4">As a front-end developer, I’ve always been obsessed with performance. A few months ago, I decided to tackle a passion project: building a completely dependency-free, pure HTML, CSS, and JavaScript UI dashboard template. No massive frameworks, no bloated libraries just clean, lightweight code that loads in a blink.</p><p data-path-to-node="4"><br><a href="https://stat.ameba.jp/user_images/20260731/15/markboucher/2c/71/p/o2816153615807752608.png"><img alt="" contenteditable="inherit" height="1536" src="https://stat.ameba.jp/user_images/20260731/15/markboucher/2c/71/p/o2816153615807752608.png" width="2816"></a></p><p data-path-to-node="4">&nbsp;</p><p data-path-to-node="5">But while the logic and structure came together quickly, I hit a massive wall when it came to the design system.</p><p data-path-to-node="6">Building a UI kit from scratch means you are solely responsible for the color palette. You need primary brand colors, secondary accents, semantic states (success, warning, error), and a dozen shades of gray for borders, backgrounds, and text.&nbsp;</p><p data-path-to-node="6">&nbsp;</p><p data-path-to-node="6">I spent days bouncing between different tabs, losing my hex codes, and struggling to build a cohesive theme. That’s when I stumbled across your suite of tools, and it completely changed my workflow.</p><p data-path-to-node="7">Here is how I used them to finally get my project’s design system off the ground.</p><h3 data-path-to-node="8">1. Establishing the Base Palette</h3><p data-path-to-node="9">Every good design system starts with a solid foundation. I knew I wanted a deep, modern blue as my primary color, but I needed complementary colors that wouldn't clash.</p><p data-path-to-node="10">I used the <b data-index-in-node="11" data-path-to-node="10"><a _ngcontent-ng-c1633966161="" _nghost-ng-c2547721383="" data-hveid="0" data-ved="0CAAQ_4QMahgKEwjizfXBo_yVAxUAAAAAHQAAAAAQtwE" decode-data-ved="1" externallink="" href="https://hexcodepicker.com/color-wheel/" jslog="197247;track:generic_click,impression,attention;BardVeMetadataKey:[[&quot;r_e2642bcfa513a6d8&quot;,&quot;c_6381db0b0f4d1b92&quot;,null,&quot;rc_85a5a40ce3207a25&quot;,null,null,&quot;en&quot;,null,1,null,null,1,0]]" rel="noopener noreferrer" target="_blank">Color Wheel</a></b> to explore color harmonies. By plugging in my base blue, I was able to instantly visualize triadic and complementary combinations. It took the guesswork out of color theory and helped me lock in a vibrant, balanced palette for my charts and data visualization components without having to rely on trial and error.</p><h3 data-path-to-node="11">2. Extracting Inspiration from Real Designs</h3><p data-path-to-node="12">For the semantic colors (like success greens and danger reds), I had a folder full of UI screenshots and mood boards that I had saved for inspiration.</p><p data-path-to-node="13">Instead of guessing the shades, I used the <b data-index-in-node="43" data-path-to-node="13"><a _ngcontent-ng-c1633966161="" _nghost-ng-c2547721383="" data-hveid="0" data-ved="0CAAQ_4QMahgKEwjizfXBo_yVAxUAAAAAHQAAAAAQuAE" decode-data-ved="1" externallink="" href="https://hexcodepicker.com/image-color-picker/" jslog="197247;track:generic_click,impression,attention;BardVeMetadataKey:[[&quot;r_e2642bcfa513a6d8&quot;,&quot;c_6381db0b0f4d1b92&quot;,null,&quot;rc_85a5a40ce3207a25&quot;,null,null,&quot;en&quot;,null,1,null,null,1,0]]" rel="noopener noreferrer" target="_blank">Image Color Picker</a></b>. I just uploaded my reference images, hovered over the exact elements I liked, and pulled the precise tones directly from the image. This was a lifesaver for matching the subtle background tints used in modern alert banners and notification badges.</p><h3 data-path-to-node="14">3. Fine-Tuning the Hover States</h3><p data-path-to-node="15">Once I had my primary colors, I needed to create darker shades for button hover states and lighter shades for active states.</p><p data-path-to-node="16">I dropped my base codes into the <b data-index-in-node="33" data-path-to-node="16"><a _ngcontent-ng-c1633966161="" _nghost-ng-c2547721383="" data-hveid="0" data-ved="0CAAQ_4QMahgKEwjizfXBo_yVAxUAAAAAHQAAAAAQuQE" decode-data-ved="1" externallink="" href="https://hexcodepicker.com/color-picker/" jslog="197247;track:generic_click,impression,attention;BardVeMetadataKey:[[&quot;r_e2642bcfa513a6d8&quot;,&quot;c_6381db0b0f4d1b92&quot;,null,&quot;rc_85a5a40ce3207a25&quot;,null,null,&quot;en&quot;,null,1,null,null,1,0]]" rel="noopener noreferrer" target="_blank">Color Picker</a></b>. The interface made it incredibly easy to tweak the lightness and saturation slightly while keeping the core hue intact. I was able to generate a perfect 10-step color scale for my CSS variables in a matter of minutes, ensuring every button and interactive element felt responsive and tactile.</p><h3 data-path-to-node="17">4. Implementation and Final Touches</h3><p data-path-to-node="18">When it came time to actually write the CSS, precision was everything. I needed a reliable way to grab formats quickly.</p><p data-path-to-node="19">I kept the <b data-index-in-node="11" data-path-to-node="19"><a _ngcontent-ng-c1633966161="" _nghost-ng-c2547721383="" data-hveid="0" data-ved="0CAAQ_4QMahgKEwjizfXBo_yVAxUAAAAAHQAAAAAQugE" decode-data-ved="1" externallink="" href="https://hexcodepicker.com/" jslog="197247;track:generic_click,impression,attention;BardVeMetadataKey:[[&quot;r_e2642bcfa513a6d8&quot;,&quot;c_6381db0b0f4d1b92&quot;,null,&quot;rc_85a5a40ce3207a25&quot;,null,null,&quot;en&quot;,null,1,null,null,1,0]]" rel="noopener noreferrer" target="_blank">Hex code Picker</a></b> open on my second monitor throughout the entire coding process. It gave me a frictionless way to dial in exact values, copy the standard hex codes, and paste them directly into my <code data-index-in-node="208" data-path-to-node="19">:root</code> CSS variables. No lag, no cluttered interface—just exactly what I needed to finish the stylesheet.</p><h3 data-path-to-node="20">The Result</h3><p data-path-to-node="21">Thanks to these tools, what started as a frustrating design bottleneck turned into one of the smoothest parts of the project. The UI kit is now live, the vanilla code is lightning fast, and the color system looks incredibly polished.</p><p data-path-to-node="22">If you're a developer trying to build out a theme or a design system from scratch, stop guessing your colors. Having a dedicated, reliable set of tools makes all the difference.</p>
]]>
</description>
<link>https://ameblo.jp/markboucher/entry-12974330288.html</link>
<pubDate>Fri, 31 Jul 2026 15:37:32 +0900</pubDate>
</item>
</channel>
</rss>
