<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by zeco on Medium]]></title>
        <description><![CDATA[Stories by zeco on Medium]]></description>
        <link>https://medium.com/@zihann.xyz?source=rss-159dfe162ae8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hZ05Kiz-gfXYvGIYk3W_eA.jpeg</url>
            <title>Stories by zeco on Medium</title>
            <link>https://medium.com/@zihann.xyz?source=rss-159dfe162ae8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 06:01:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zihann.xyz/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[HSL Triumphs: Embracing the Brilliance Beyond RGB]]></title>
            <link>https://medium.com/design-bootcamp/hsl-triumphs-embracing-the-brilliance-beyond-rgb-df3348b9fc54?source=rss-159dfe162ae8------2</link>
            <guid isPermaLink="false">https://medium.com/p/df3348b9fc54</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[colors]]></category>
            <category><![CDATA[photography]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[color-theory]]></category>
            <dc:creator><![CDATA[zeco]]></dc:creator>
            <pubDate>Mon, 06 Nov 2023 16:44:39 GMT</pubDate>
            <atom:updated>2023-11-07T01:20:22.295Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KR0Y_vlg4vvtj-xf.png" /></figure><p>Welcome, fellow color enthusiasts! Today, we’re diving into the colorful world of HSL, an essential concept in color theory that provides a fresh perspective on understanding colors. Whether you’re a design novice or a seasoned pro, this guide will unravel the mysteries of HSL, making it accessible to everyone.</p><p>We have previously discussed RGB and Hex, where Hex is simply a compressed representation of RGB without fundamentally changing the RGB color model. Therefore, I will only compare RGB with HSL in this blog, which is very different from it.</p><p>If you are curious or confused about RGB and Hex, you can read this article.</p><p><a href="https://bootcamp.uxdesign.cc/diving-into-digital-rainbows-the-marvel-of-color-representation-in-images-pixels-rgb-cmyk-73692d3a6d33">Diving into Digital Rainbows: The Marvel of Color Representation in Images — Pixels, RGB, CMYK</a></p><p>Imagine a scenario where you are given a color and its three Red, Green, and Blue components. Your task is to change it to another color.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9g_IysqehmJvWU8wRu0Haw.png" /></figure><p>Do you know how to adjust these RGB values? If you are not well-versed in color mixing, it is unlikely that intuition alone can provide you with an answer. See the example in the image above.</p><blockquote>From light blue to dark blue, why did red and green increase while blue did not?</blockquote><p>If we are not experienced painters who know how to mix colors effectively, then we may not know how to adjust the colors properly.</p><p>Now, imagine another scene where you are walking on a forest path, and would you say that the spots are bright or that their color is a lighter shade of yellow-brown compared to the soil?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2vR20XmAzgBrVn3w.png" /></figure><p>HSL is here to rescue us.</p><h3>What is HSL?</h3><p>HSL is a cylindrical-coordinate representation of colors.</p><p>HSL stands for Hue, Saturation, and Lightness. These three components break down the characteristics of a color, allowing us to describe and manipulate it in a more intuitive way:</p><p><strong>Hue</strong></p><p>Hue represents the type of color, such as red, blue, or green. Think of it as the essential nature of a color, distinguishing one from another on the color spectrum.</p><ul><li>A hue is a <em>pure</em> pigment — one without tint or shade (added white or black pigment, respectively)</li><li>0° for red, 120° for green, 240° for blue</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*YqLyx6n1NWd7wYaO4S_VtQ.png" /><figcaption>Image by <a href="https://commons.wikimedia.org/wiki/User:Nl74">László Németh</a> from the <a href="https://commons.wikimedia.org/wiki/Main_Page">Wikimedia Commons</a> under <a href="https://creativecommons.org/publicdomain/zero/1.0/deed.en">CC0 1.0 DEED</a>.</figcaption></figure><p><strong>Saturation</strong></p><p>Saturation measures the intensity or purity of a color. A fully saturated color is vivid and vibrant, while a desaturated color appears more muted or grayscale.</p><ul><li>0% for grayscale, 100% for vibrant colors</li></ul><p><strong>Lightness</strong></p><p>Lightness indicates how bright or dark a color is. A light color has a high lightness value, while a dark color has a low lightness value.</p><ul><li>0% for black, 100% for white</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/0*Ow-9aYXSHssLw5xU.png" /><figcaption><strong>Lightness, Hue, and Saturation. </strong><em>Credit: </em><a href="https://earthobservatory.nasa.gov/blogs/elegantfigures/page/2/"><em>NASA Earth Observatory</em></a></figcaption></figure><p>Completely consistent with our intuition.</p><p>Understanding HSL gives us a more human-friendly way to talk about colors, making it easier to convey our creative visions.</p><h3>The Origin and Need for HSL in the RGB World</h3><p>But why do we need HSL when we already have RGB (Red, Green, Blue), the primary color model used in electronic displays? HSL was invented to bridge the gap between technical accuracy and human perception:</p><h4><strong>Advantages of HSL</strong></h4><ul><li><strong>Intuitive Representation:</strong> HSL aligns with how we naturally perceive and describe colors, making it more user-friendly for designers and artists.</li><li><strong>Ease of Manipulation:</strong> Changing aspects like brightness or intensity is more straightforward in HSL, simplifying the creative process.</li></ul><h4><strong>Disadvantages of RGB</strong></h4><ul><li><strong>Complexity:</strong> RGB can be challenging to grasp for non-experts due to its technical nature, making it less accessible for beginners.</li><li><strong>Limited Expressiveness:</strong> RGB lacks the intuitive flexibility that HSL offers, making it harder to communicate precise color ideas.</li></ul><p>HSL acts as a translator, converting the technical language of RGB into something artists and designers can easily work with.</p><h3>Converting Between HSL and RGB: The Magic Formula</h3><p>Converting between HSL and RGB may seem daunting, but fear not! There are simple formulas to make the magic happen:</p><h4><strong>From HSL to RGB</strong></h4><p>To convert HSL to RGB, we can use the following formulas:</p><ul><li><strong>R = HueToRGB(P, Q, H + (1/3))</strong></li><li><strong>G = HueToRGB(P, Q, H)</strong></li><li><strong>B = HueToRGB(P, Q, H — (1/3))</strong></li></ul><p>Where</p><ul><li><strong>HueToRGB(P, Q, T)</strong> function converts a hue value to an RGB value.</li></ul><pre>function hueToRGB(p: number, q: number, t: number): number {<br>    if (t &lt; 0) t += 1;<br>    if (t &gt; 1) t -= 1;<br>    if (t &lt; 1 / 6) return p + (q - p) * 6 * t;<br>    if (t &lt; 1 / 2) return q;<br>    if (t &lt; 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;<br>    return p;<br>}</pre><ul><li><strong>P</strong> and <strong>Q</strong> are calculated based on lightness and saturation values.</li><li><strong>H</strong> is the hue value (scaled to the range [0, 1]).</li></ul><h4><strong>From RGB to HSL</strong></h4><p>Converting from RGB to HSL involves a slightly more complex process but can be simplified as follows:</p><ul><li><strong>L = (max(R, G, B) + min(R, G, B)) / 2</strong></li><li><strong>S = (max(R, G, B) — min(R, G, B)) / (1 — |(2 * L) — 1|)</strong></li><li><strong>H = Angle between the line joining (R, G, B) and (0.3333, 0.3333, 0.3333) and the line joining (R, G, B) and (0, 1, 0), measured in the counterclockwise direction, normalized to the range [0, 1].</strong></li></ul><p>Armed with these formulas, you can effortlessly translate colors between HSL and RGB, enhancing your creative endeavors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vlICyYPNOC8sf8pz.png" /></figure><h3>Conclusion</h3><p>I suggest that you use HSL more when designing UI, as it aligns with the user’s visual perception of colors and can help you create color combinations that align with the product goals, rather than relying solely on numerical values for a rigid step-by-step approach.</p><p>And that concludes our beginner’s guide to HSL — the key to unlocking a more vibrant and imaginative world.</p><p>Embrace the potential of HSL and watch your creativity thrive in every shade, saturation, and brightness level you can imagine!</p><h4>Thanks for diving into the colorful world of technology and creativity with me! 🌈</h4><h4>Hungry for more insights into color theory, full-stack development, and creative programming? Follow me on Medium for an enriching journey. Your support keeps the conversation vibrant. See you on the next page of our adventure! Welcome to <a href="https://medium.com/@zihann.xyz">subscribe</a>!</h4><p>More fun facts about <strong>Color Theory </strong>here:</p><p><a href="https://bootcamp.uxdesign.cc/colors-do-not-actually-exist-fb821c763d4e">Colors do not actually exist.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df3348b9fc54" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/hsl-triumphs-embracing-the-brilliance-beyond-rgb-df3348b9fc54">HSL Triumphs: Embracing the Brilliance Beyond RGB</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Diving into Digital Rainbows: The Marvel of Color Representation in Images — Pixels, RGB, CMYK]]></title>
            <link>https://medium.com/design-bootcamp/diving-into-digital-rainbows-the-marvel-of-color-representation-in-images-pixels-rgb-cmyk-73692d3a6d33?source=rss-159dfe162ae8------2</link>
            <guid isPermaLink="false">https://medium.com/p/73692d3a6d33</guid>
            <category><![CDATA[digital]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[graphic-design]]></category>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[design-thinking]]></category>
            <dc:creator><![CDATA[zeco]]></dc:creator>
            <pubDate>Tue, 24 Oct 2023 18:17:58 GMT</pubDate>
            <atom:updated>2023-10-25T23:31:36.895Z</atom:updated>
            <content:encoded><![CDATA[<h3>Diving into Digital Rainbows: The Marvel of Color Representation in Images — Pixels, RGB, Hex, CMYK</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G5DFsXzmnMoSP-mhPXidRg.png" /></figure><p>Welcome to the vibrant world of colors!</p><p>Have you ever wondered how the breathtaking hues in your favorite photographs or digital artworks come to life on your screens? 🤔️ It’s all about the fascinating science of color representation in images, where the magic of technology meets the intricacies of human perception.</p><p>At its core, color representation in images is the art and science of translating the endless spectrum of visible light into digital information that our gadgets can understand. Imagine the colors around you — the deep red of a ripe apple, the soothing blue of the sky, or the lush green of a forest. Each of these colors is a specific wavelength of light, and our eyes and brains work in harmony to interpret these wavelengths into the vivid palette we perceive.</p><p>👀 How do our eyes and brain work together to enter a vivid world? 🌞 ⬇️</p><p><a href="https://bootcamp.uxdesign.cc/colors-do-not-actually-exist-fb821c763d4e">Colors do not actually exist.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXk7p34nd2mgIGjIGL5cZA.png" /><figcaption>Image generated by Midjourney :)</figcaption></figure><h3>Pixels in Digital Realm</h3><p>In the digital realm, this spectrum is broken down into tiny units called pixels. Pixels are the building blocks of digital images, and each pixel has its own set of instructions for color.</p><h3>RGB</h3><p>The most common color model used in digital devices is RGB, which stands for Red, Green, and Blue. In this model, every color is created by combining varying intensities of these three primary colors. These values can range from 0 to 255, with 0 representing no intensity and 255 representing maximum intensity. By combining different intensities of red, green, and blue, a wide range of colors can be achieved.</p><pre>R = red (0 ≤ R ≤ 255)<br>G = green (0 ≤ G ≤ 255)<br>B = blue (0 ≤ B ≤ 255)</pre><h4>Have you ever heard about RGBA?</h4><p>RGBA stands for Red, Green, Blue, and Alpha. It is a color model used in digital devices, similar to RGB. The additional “A” represents the alpha channel, which determines the opacity or transparency of a color. The alpha value can range from 0 to 1, with 0 being fully transparent and 1 being fully opaque. RGBA is commonly used to specify colors with transparency in web design and graphics editing software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5eZ-sczodFriJUv2R5lmug.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fI_X0hZ8WexYXRYBFjn-nA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QGcKdGCmATwy5iKbENJ94Q.png" /><figcaption>Red, Green, Blue</figcaption></figure><p>Picture your screen as an intricate mosaic of millions of pixels, each emitting its unique blend of red, green, and blue light. When these pixels come together, they form the images and videos you see on your devices, from the captivating visuals in your favorite video game to the mesmerizing photos shared on social media.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*7sbviyrUIJeoCPpAynq1tQ.png" /><figcaption>Image by <a href="https://commons.wikimedia.org/wiki/User:Immanuelle">Immanuelle</a> from the <a href="https://commons.wikimedia.org/wiki/Main_Page">Wikimedia Commons</a> under <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">CC BY-SA 4.0</a>.</figcaption></figure><h3>Hex</h3><p>Another way to describe the color of a digital image is using the hexadecimal (Hex) color format. In this format, the RGB values are converted into a base-16 representation using six characters (0–9, A-F). The first two characters represent the intensity of red, the next two represent green, and the last two represent blue. For example, #FF0000 represents pure red.</p><pre>const color_rgba = rgba(67, 255, 100, 0.85)<br>const color_hex = &#39;#43ff64d9&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cNpH1xEStpxOtTwgWSa6rQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*09RBVOjTuboFxkg1AytksQ.png" /></figure><h4>Why do we need Hex? Is Hex better than RGB?</h4><p>The answer is yes. The Hex color format is commonly used alongside the RGB color format for several reasons:</p><ol><li><strong>Concise Representation:</strong> Hexadecimal values allow for a more concise representation of color codes compared to decimal values used in RGB. Hex codes use only six characters (0–9, A-F) to represent the intensity of red, green, and blue, making them easier to read and write.</li><li><strong>Web Design and HTML/CSS:</strong> Hex codes are widely used in web design and HTML/CSS to specify colors. They are supported by all major web browsers and are the preferred format for defining colors in web development. Hex codes provide a consistent and standardized way to specify colors across different platforms and devices.</li><li><strong>Compatibility and Consistency:</strong> Hex codes can be easily converted to RGB values and vice versa. This interchangeability allows designers and developers to work with color codes in different formats while maintaining consistency. It also ensures that colors appear the same across various devices and software.</li><li><strong>Legacy Support:</strong> The Hex color format has been in use for a longer time compared to RGB. It has a legacy presence in graphics software, design tools, and various applications. While RGB is more commonly used in digital displays and modern software, Hex codes are still prevalent in many design workflows.</li></ol><p>Overall, the Hex color format offers a practical and widely supported alternative to RGB, especially in web design and digital media. It provides a concise and standardized way to represent colors, ensuring consistency and compatibility across different platforms and applications.</p><h3>CMYK in Printing Realm</h3><p>But the world of color representation isn’t just limited to screens. In the printing realm, a different set of primary colors takes the stage: Cyan, Magenta, Yellow, and Black (CMYK). Printers use these colors to reproduce a vast array of colors by varying the intensity of each ink. This CMYK model is the reason why your printed photographs and magazines boast such rich and varied colors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*C8uFXR4vkn9h1lPqv1va2w.png" /><figcaption>Image by <a href="https://commons.wikimedia.org/w/index.php?title=User:Hemidah&amp;action=edit&amp;redlink=1">Youssef Abdelhamed</a> from the <a href="https://commons.wikimedia.org/wiki/Main_Page">Wikimedia Commons</a> under <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">CC BY-SA 4.0</a>.</figcaption></figure><h4>Thanks for diving into the colorful world of technology and creativity with me! 🌈</h4><h4>Hungry for more insights into color theory, full-stack development, and creative programming? Follow me on Medium for an enriching journey. Your support keeps the conversation vibrant. See you on the next page of our adventure!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73692d3a6d33" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/diving-into-digital-rainbows-the-marvel-of-color-representation-in-images-pixels-rgb-cmyk-73692d3a6d33">Diving into Digital Rainbows: The Marvel of Color Representation in Images — Pixels, RGB, CMYK</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Colors do not actually exist.]]></title>
            <link>https://medium.com/design-bootcamp/colors-do-not-actually-exist-fb821c763d4e?source=rss-159dfe162ae8------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb821c763d4e</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[designer]]></category>
            <category><![CDATA[photography]]></category>
            <category><![CDATA[science]]></category>
            <dc:creator><![CDATA[zeco]]></dc:creator>
            <pubDate>Sun, 22 Oct 2023 11:12:12 GMT</pubDate>
            <atom:updated>2023-10-22T23:18:03.145Z</atom:updated>
            <content:encoded><![CDATA[<h4>We can say that color is a concrete description of the visible spectrum that we humans perceive through our eyes.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qc7mnKy2MhH7ob8BE6TlMw.png" /><figcaption>Image generated by Midjourney 🌈</figcaption></figure><p>Our understanding of light comes from the sun.</p><p>It can be said that the composition of sunlight’s spectrum determines the colors on Earth. With the naked eye, it is impossible for us to see colors beyond the frequency of the solar spectrum.</p><p>Colors are a human invention. Colors do not actually exist. They only appear differently to our senses based on the different wavelengths of light. Colors can be seen as humans’ description of the spectrum.</p><h3>Visible spectrum</h3><figure><img alt="Image by Inductiveload, NASA from the Wikimedia Commons under CC BY-SA 3.0." src="https://cdn-images-1.medium.com/max/675/1*ouZDZ3qph2Q9Gas2UY1qvw.png" /><figcaption>Image by <a href="https://commons.wikimedia.org/wiki/User:Inductiveload">Inductiveload</a>, <a href="http://mynasadata.larc.nasa.gov/images/EM_Spectrum3-new.jpg">NASA</a> from the <a href="https://commons.wikimedia.org/wiki/Main_Page">Wikimedia Commons</a> under <a href="https://creativecommons.org/licenses/by-sa/3.0/deed.en">CC BY-SA 3.0</a>.</figcaption></figure><p>Light is a type of electromagnetic wave with different frequencies and wavelengths, where different wavelengths represent different colors. In the real world, we can only see a small portion of the wavelengths, known as the visible spectrum. The visible spectrum is just a small part of the entire electromagnetic wave spectrum, with wavelengths ranging from 380nm to 750nm.</p><h3>Visible or perceptible?</h3><p>The term “visible” here refers to what is visible to us humans, as different animals have different ranges of wavelengths they can see. The last section of this article will introduce a fascinating creature, the mantis shrimp, which can “see” electromagnetic waves that are invisible to humans.</p><h3>What role do our eyes play?</h3><p>The perception of colors by humans is actually the visual sensation of the electromagnetic spectrum. It is determined by the combination of <strong>materials, light, the eyes, and the brain</strong>.</p><h4>Absorb and reflect</h4><p>When the surface of a substance is illuminated by sunlight (white light), the substance absorbs and reflects light of different wavelengths.</p><p>The photoreceptor cells in the retina of the eye convert the light signals into electrical signals, which are then transmitted to the nerve cells. The brain processes and interprets these signals, resulting in the perception of colors in human cognition.</p><h4>Retina and brain</h4><p>Light enters the pupil and passes through the lens, reaching the retina. There are two types of cells on the retina, cone cells and rod cells, which work together to determine color perception in our brain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*bcluIKyliHe_0iKTRkSc2w.png" /><figcaption>Image by Rhcastilhos. And <a href="https://commons.wikimedia.org/wiki/User:Jmarchn">Jmarchn</a>. from the <a href="https://commons.wikimedia.org/wiki/Main_Page">Wikimedia Commons</a> under <a href="https://creativecommons.org/licenses/by-sa/3.0/deed.en">CC BY-SA 3.0</a>.</figcaption></figure><p>Diagram of the human eye in English. It shows the lower part of the right eye after a central and horizontal section.</p><h3>More detail: Rods and cones in the Retina</h3><h4>Rods: brightness and motion</h4><p>Rods in the retina are responsible for vision in low light conditions and detecting motion.</p><p>They contain a visual pigment that changes its structure depending on the light intensity. When rods are exposed to dim light, the visual pigment undergoes a chemical reaction, generating an electrical signal that is transmitted to the brain. This signal allows us to perceive objects in low light environments, although rods do not provide color vision. Instead, they primarily contribute to the perception of brightness and shades of gray.</p><p>Rods are more densely concentrated in the peripheral regions of the retina, which explains why our ability to see color diminishes in low light conditions where the rods are more active.</p><h4>Cones: perception</h4><p>The cones in our retina are responsible for <strong>color perception</strong>.</p><p>We have approximately six million(6,000,000) cones, with an average of two million red cones, three million green cones, and one million blue cones.</p><blockquote>2 Red : 3 Green : 1 Blue</blockquote><p>These cones translate the extent to which they vibrate into different colors and shades, forming the colors that we see. Red, green, and blue (RGB) are considered the optical primary colors. However, individuals with color blindness may have deficient color receptors, affecting their ability to perceive certain colors accurately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*eo3r_uadFSKBGj3u-XA5qA.jpeg" /><figcaption>Image by <strong>Mark Fairchild</strong> from the <a href="https://commons.wikimedia.org/wiki/Main_Page">Wikimedia Commons</a> under <a href="https://creativecommons.org/licenses/by-sa/3.0/deed.en">CC BY-SA 3.0</a>.</figcaption></figure><blockquote>Illustration of the distribution of cone cells in the fovea of an individual with normal colour vision (left), and a colourblind (protanopic) retina.</blockquote><blockquote>Protanopes have no functional red-cones as they lack a functional long wavelength (red) opsin gene.</blockquote><blockquote>Note that the center of the fovea holds very few red-sensitive cones.</blockquote><h4>How do cone cells transform signals?</h4><p>Cone cells in the retina transform signals to nerve cells through a process called phototransduction. When light enters the eye and reaches the retina, it interacts with the photopigment molecules in the cone cells. These photopigment molecules undergo a chemical reaction called isomerization, which changes their shape and initiates an electrical signal. This electrical signal is then transmitted from the cone cells to the nerve cells in the retina, specifically the bipolar cells and ganglion cells, through a complex network of connections. The nerve cells further process and transmit the electrical signals to the brain, where they are interpreted as specific colors and visual information.</p><h3>Humans learn from mantis shrimp, which has 12 color channels</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*fwlAPM4bLWTb7QrqIC7duw.jpeg" /><figcaption>from unsplash, copyright free</figcaption></figure><p>The mantis shrimp is a captivating marine creature that possesses <strong>12</strong> types of cone cells in its eyes. This unique feature enables them to perceive a broad spectrum of colors and potentially even detect polarized light.</p><p>Mantis shrimp have the remarkable ability to perceive and “see” electromagnetic waves that are imperceptible to humans. They can detect polarized light, which refers to light that vibrates in a specific direction. This extraordinary skill allows them to visualize and differentiate polarized patterns and colors that are not discernible to the naked human eye.</p><h3>To summarize</h3><h4>Colors are a human invention and do not actually exist.</h4><p>We can say that color is a concrete description of the visible spectrum that we humans perceive through our eyes. The visible spectrum, which represents the colors we can see, is just a small portion of the entire spectrum.</p><p>In addition to color, we have many perspectives to describe electromagnetic waves, such as frequency, wavelength, temperature. In addition to our eyes, we also have somatosensory cells that sense temperature, infrared detectors and other tools to sense the existence of the electromagnetic spectrum.</p><p>🌈 <strong>Unlock the Secrets of Color in Design and Development!</strong> 🌟</p><p>Dive into the vibrant world of colors with our upcoming blog series! Over the next month, I’ll be exploring the nuances of color in the digital realm, unraveling professional techniques, and unveiling powerful tools for both designers and developers.</p><p><strong>If you’re passionate about color theory, UI design, and want to elevate your skills, this series is tailored just for you!</strong></p><p>Don’t miss out — subscribe now to embark on this colorful journey together! 🚀✨</p><ol><li><strong>🎨 The Digital Palette: Exploring Colors in the Digital World: </strong><em>Uncover the significance of colors in the digital landscape and their impact on user experience.</em></li><li><strong>🧑‍💻 Cracking the Code: Calculating Color Brightness with Formulas: </strong><em>Learn the mathematical magic behind color brightness calculation and its practical applications.</em></li><li><strong>🧑‍🎨 Color Jargon Decoded: Essential Terms for UI Designers and Developers: </strong><em>Demystify professional color terminology, bridging the gap between developers and designers.</em></li><li><strong>🧞‍♂ ️Beyond Hex Codes: Mastering Color Selection Beyond the Basics: </strong><em>Delve into advanced color selection techniques that go beyond traditional hex codes and color pickers.</em></li><li><strong>🌈 Creating a Spectrum: Developing Your Own Color Picker Tool: </strong><em>Step into the shoes of a developer and discover how to craft a customized color picker from scratch.</em></li><li><strong>🔧 Designer’s Arsenal: The Best Color Tools Every Creative Must Have: </strong><em>Explore a curated collection of top-notch color tools designed to enhance the workflow of both designers and developers.</em></li><li><strong>🤖️ Color Innovation: Harnessing AI Tools for Seamless Color Picking Solutions: </strong><em>Witness the power of artificial intelligence as we explore cutting-edge tools revolutionizing the way colors are picked and utilized.</em></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb821c763d4e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/colors-do-not-actually-exist-fb821c763d4e">Colors do not actually exist.</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Crucial Font Principles in UI Design]]></title>
            <link>https://medium.com/@zihann.xyz/7-crucial-font-principles-in-ui-design-82a647dc9be1?source=rss-159dfe162ae8------2</link>
            <guid isPermaLink="false">https://medium.com/p/82a647dc9be1</guid>
            <category><![CDATA[fonts]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[ui-design]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[zeco]]></dc:creator>
            <pubDate>Sun, 08 Oct 2023 14:53:29 GMT</pubDate>
            <atom:updated>2023-10-08T14:53:29.556Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rXAt-yvWhYpb95huJE0acw.png" /></figure><p>I embark on a train journey, utterly bored, scrolling through TailwindCSS’s official website. Then, a serendipitous click on a floating icon transports me into the captivating world of “<a href="https://www.refactoringui.com/"><strong><em>Refactoring UI</em></strong></a>”. My reading adventure doesn’t pause until the train halts.</p><p>As a software engineer without formal design training, my journey through countless web pages made me realize the gaps in my UI expertise. Enter this book: a masterpiece, a beacon of UI brilliance. 🚂✨</p><p>This article offers condensed insights, stripping design principles to their essence for immediate use. For a deeper understanding, I recommend reading the book 📚, complete with practical cases, making these seemingly simple yet profoundly effective principles crystal clear at a glance. Stay tuned!</p><p><strong>Font Sizes</strong></p><ol><li><strong>The Problem with Inconsistent Sizes</strong></li></ol><p>Interfaces suffer due to haphazard font choices, leading to design discrepancies and workflow slowdowns.</p><p><strong>2. Choosing the Right Scale</strong></p><p>While ratios offer a systematic approach, manually selecting sizes provides better control for practical interface design.</p><p><strong>3. Unit Selection for Consistency</strong></p><p>Avoiding em units, designers should opt for px or rem units to ensure font size uniformity within the defined scale.</p><p><strong>Typeface Selection</strong></p><ol><li><strong>Safe Choices for UI Design</strong></li></ol><p>Opt for neutral sans-serif fonts like Helvetica, or rely on system font stacks for familiarity among users.</p><p><strong>2. Consider Typeface Weights</strong></p><p>Typefaces with more weights usually indicate careful design. Filter options to fonts with 10+ styles to narrow down choices effectively.</p><p><strong>3. Prioritize Legibility</strong></p><p>Match font characteristics with the intended purpose; avoid condensed typefaces for main UI text due to readability issues.</p><p><strong>4. Follow Popular Trends</strong></p><p>Popular fonts are often good choices. Sorting by popularity in font directories helps, especially for non-neutral typefaces like serifs.</p><p><strong>5. Learn from Well-designed Sites</strong></p><p>Analyze fonts used in well-designed sites; designers with strong typography opinions often select unique, high-quality fonts.</p><p><strong>Line Length for Readability</strong></p><ol><li><strong>Avoid Lengthy Lines for Paragraphs</strong></li></ol><p>Long lines of text can hinder readability. Aim for paragraph widths between 45 and 75 characters per line for the best reading experience.</p><p><strong>2. Use Relative Units for Web Layout</strong></p><p>Employ em units, relative to the font size, to set paragraph widths between 20–35em, keeping text within the optimal character range.</p><p><strong>3. Balance Width with Other Content</strong></p><p>Even if the overall content area needs to be wider due to images or large components, limit paragraph width. Varying widths within the same area can enhance the overall polished appearance.</p><p><strong>Text Alignment in Mixed Font Sizes</strong></p><ol><li><strong>Avoid Centering, Use Baseline Alignment</strong></li></ol><p>Instead of vertically centering different font sizes, align them based on their baseline. This method creates a cleaner and visually appealing layout, enhancing readability and aesthetics.</p><p><strong>Proportional Line-Height</strong></p><ol><li><strong>Line-Length and Spacing</strong></li></ol><p>Tailor line-height to line length; narrow content benefits from shorter line-height (around 1.5), while wider content needs taller line-height (up to 2) for easy line tracking during wrapping.</p><p><strong>2. Font Size Impact</strong></p><p>Consider font size; small text requires extra spacing for clear line identification, whereas larger headlines can have minimal line spacing (line-height of 1). Adjust line-height inversely based on text size for optimal readability.</p><p><strong>Link Emphasis</strong></p><ol><li><strong>Subtle Emphasis for Most Links</strong></li></ol><p>Use a heavier font weight or a darker color to emphasize most links in a subtle manner, avoiding an overwhelming appearance.</p><p><strong>2. Contextual Emphasis for Non-Essential Links</strong></p><p>For ancillary links, add underlines or change colors on hover. This ensures discoverability without overshadowing crucial page actions.</p><p><strong>Text Alignment for Readability</strong></p><ol><li><strong>Left-Align Long Text</strong></li></ol><p>For readability, avoid center-aligning long-form text. It’s best suited for headlines or short blocks. If necessary, rewrite content to maintain consistency.</p><p><strong>2. Right-Align Numbers in Tables</strong></p><p>Right-align numbers in tables to ensure easy comparison, especially when decimals align consistently.</p><p><strong>3. Hyphenate Justified Text</strong></p><p>If using justified text for a formal look, enable hyphenation to prevent awkward gaps between words. Justified text is suitable for print-mimicking styles, but left-aligned text remains a strong preference.</p><p><strong>Effective Letter-Spacing</strong></p><ol><li><strong>Headlines and Fonts</strong></li></ol><p>Decrease letter-spacing for fonts with wider spacing in headlines. Avoid widening spacing for condensed headline fonts at small sizes.</p><p><strong>2. Enhancing All-Caps Readability</strong></p><p>Increase letter-spacing in all-caps text to enhance legibility, compensating for the lack of visual variety compared to mixed-case text.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82a647dc9be1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>