{"id":67629,"date":"2026-11-26T10:07:06","date_gmt":"2026-11-26T07:07:06","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=67629"},"modified":"2026-11-26T10:07:06","modified_gmt":"2026-11-26T07:07:06","slug":"random-color-generator","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/web-tools\/random-color-generator\/","title":{"rendered":"Random Color Generator"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Roll a Fresh Batch of Random Colors<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"67629\" data-favorite-title=\"Random Color\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/web-tools\/random-color-generator\/\" data-favorite-excerpt=\"Roll a batch of 1\u201350 random colors as HEX, RGB and HSL. Pick a mode such as pastel, neon or grayscale, apply a palette harmony, lock your favorites, and copy or export everything with one click.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-conversion\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/web-tools\/random-color-generator\/\" method=\"POST\" class=\"calculator\" id=\"calculator-67629\" data-post=\"67629\"><fieldset class=\"fieldset-input is-2\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field has-term\" id=\"input-1\"><label for=\"field-1\">Colors to generate (N)<\/label><div class=\"term\">N<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"colors_to_generate_n\" id=\"field-1\" aria-describedby=\"calc-info-1\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"1\" max=\"50\" value=\"6\"\/><small id=\"calc-info-1\">1\u201350 swatches per batch.<\/small><\/div><div class=\"field\" id=\"input-2\"><label for=\"field-2\">Mode<\/label><div class=\"grid grid-cols-1\"><select id=\"field-2\" name=\"mode\"><option value=\"any\" selected>Any color<\/option><option value=\"pastel\">Pastel<\/option><option value=\"dark\">Dark<\/option><option value=\"vivid\">Vivid \/ neon<\/option><option value=\"gray\">Grayscale<\/option><option value=\"warm\">Warm hues<\/option><option value=\"cool\">Cool hues<\/option><option value=\"range\">Within a hue range<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-3\"><label for=\"field-3\">Palette harmony<\/label><div class=\"grid grid-cols-1\"><select id=\"field-3\" name=\"palette_harmony\"><option value=\"none\" selected>None \u2014 independent colors<\/option><option value=\"analog\">Analogous (\u00b130\u00b0)<\/option><option value=\"comp\">Complementary (180\u00b0)<\/option><option value=\"triad\">Triadic (120\u00b0)<\/option><option value=\"mono\">Monochrome<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field has-term\" id=\"input-4\" hidden><label for=\"field-4\">Hue range \u2014 from (\u00b0)<\/label><div class=\"term\">h\u2081<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"hue_range_from_\" id=\"field-4\" aria-describedby=\"calc-info-4\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" max=\"360\" value=\"40\"\/><small id=\"calc-info-4\">Visible only in \u201cWithin a hue range\u201d mode; if from &gt; to, the range wraps through red.<\/small><\/div><div class=\"field has-term\" id=\"input-5\" hidden><label for=\"field-5\">Hue range \u2014 to (\u00b0)<\/label><div class=\"term\">h\u2082<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"hue_range_to_\" id=\"field-5\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" max=\"360\" value=\"260\"\/><\/div><div class=\"field\" id=\"input-6\"><label for=\"field-6\">Swatch click copies<\/label><div class=\"grid grid-cols-1\"><select id=\"field-6\" name=\"swatch_click_copies\"><option value=\"hex\" selected>HEX \u2014 #4F7CFF<\/option><option value=\"rgb\">RGB \u2014 rgb(79,124,255)<\/option><option value=\"hsl\">HSL \u2014 hsl(222\u00b0, 100%, 65%)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-7\"><label for=\"field-7\">Shuffle<\/label><input type=\"text\" name=\"shuffle\" id=\"field-7\" aria-describedby=\"calc-info-7\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" placeholder=\"Press Space to shuffle\" min=\"0\" max=\"999999\" value=\"1\"\/><small id=\"calc-info-7\">Every change redraws the unlocked swatches. The Space bar anywhere on this page bumps this counter for you.<\/small><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"67629\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Your Random Colors<\/h3><div class=\"result-box\"><div class=\"field-result is-column\" id=\"output-1\"><span class=\"field-title\"><span>What this random color generator does<\/span><\/span><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-2\"><span class=\"field-title\"><span>Your palette \u2014 click any swatch or value to copy<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-3\"><span class=\"field-title\"><span>Export \u2014 CSS variables, JSON or a PNG strip<\/span><\/span><span class=\"field-value\" id=\"result-3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-4\"><span class=\"field-title\"><span>History \u2014 the last 20 colors you generated<\/span><\/span><span class=\"field-value\" id=\"result-4\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"67629\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Random Color Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ H \\sim \\mathcal{U}(h_1, h_2), \\quad S \\sim \\mathcal{U}(s_{\\min}, s_{\\max}), \\quad L \\sim \\mathcal{U}(l_{\\min}, l_{\\max}) \\\\ C = (1 - |2L - 1|)\\,S, \\quad H' = \\tfrac{H}{60}, \\quad X = C\\,(1 - |H' \\bmod 2 - 1|), \\quad m = L - \\tfrac{C}{2} \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(H\\) \u2014 hue in degrees (0\u2013360), drawn uniformly from the mode's hue window<\/li>\n<li>\\(S\\) \u2014 saturation in percent, drawn from the mode's saturation window<\/li>\n<li>\\(L\\) \u2014 lightness in percent, drawn from the mode's lightness window<\/li>\n<li>\\(C\\) \u2014 chroma, \\(X\\) \u2014 intermediate channel value, \\(m\\) \u2014 lightness offset added to each RGB channel<\/li>\n<\/ul>\n<p>Each swatch starts as three independent uniform random draws in the HSL color model. The second line then converts the chosen \\(H, S, L\\) into RGB: the sector of the color wheel (given by \\(H'\\)) decides which of \\(C\\), \\(X\\) or 0 goes into red, green and blue before \\(m\\) is added. Finally, the WCAG relative luminance \\(L_{\\mathrm{rel}} = 0.2126R' + 0.7152G' + 0.0722B'\\) and the contrast ratio \\(\\mathrm{CR} = \\frac{L_1 + 0.05}{L_2 + 0.05}\\) decide whether black or white text is more readable on the swatch.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Random Color \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> the generator draws hue \\(210^\\circ\\), saturation 80% and lightness 60% \u2014 three values that all fall inside the default &quot;any color&quot; window.<\/p>\n<p>\\[ C = (1 - |2 \\cdot 0.60 - 1|) \\cdot 0.80 = 0.64, \\quad H' = \\tfrac{210}{60} = 3.5, \\quad X = 0.64\\,(1 - |1.5 - 1|) = 0.32, \\quad m = 0.60 - 0.32 = 0.28 \\]<\/p>\n<p>Since \\(3 \\le H' &lt; 4\\), the blue channel gets \\(C\\), green gets \\(X\\), and red gets 0:<\/p>\n<p>\\[ (R, G, B) = (m,\\; m + X,\\; m + C) \\cdot 255 = (0.28,\\; 0.60,\\; 0.92) \\cdot 255 \\approx (71,\\; 153,\\; 235) \\]<\/p>\n<p><strong>Result:<\/strong> rgb(71, 153, 235), which converts to the hex code <strong>#4799EB<\/strong> \u2014 the string you can copy from the swatch.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to use the calculator<\/h2>\n<ol>\n<li>Enter how many swatches you want in <strong>Colors to generate (N)<\/strong> \u2014 anything from 1 to 50.<\/li>\n<li>Choose a <strong>Mode<\/strong>: <em>Any color<\/em>, <em>Pastel<\/em>, <em>Dark<\/em>, <em>Vivid \/ neon<\/em>, <em>Grayscale<\/em>, <em>Warm hues<\/em>, <em>Cool hues<\/em>, or <em>Within a hue range<\/em>. Each mode is a window on the HSL scale (for example, pastel limits saturation to 30\u201362% and lightness to 74\u201390%).<\/li>\n<li>If you picked <em>Within a hue range<\/em>, set <strong>Hue range \u2014 from (\u00b0)<\/strong> and <strong>Hue range \u2014 to (\u00b0)<\/strong>. If the start exceeds the end, the range wraps through red, so 330\u00b0 to 30\u00b0 covers reds and magentas on both sides.<\/li>\n<li>Optionally pick a <strong>Palette harmony<\/strong>: analogous (\u00b130\u00b0 around one base hue), complementary (180\u00b0 flip), triadic (120\u00b0 steps) or monochrome. With <em>None<\/em>, every swatch is fully independent.<\/li>\n<li>Set what a click on the big swatch copies under <strong>Swatch click copies<\/strong> \u2014 HEX, RGB or HSL. The small values below each swatch are always individually clickable.<\/li>\n<li>Press <strong>Space<\/strong> anywhere outside a form field (or increase the <strong>Shuffle<\/strong> counter) to redraw. Click \ud83d\udd12 on a swatch you like first, and shuffling leaves it untouched.<\/li>\n<li>Copy single values from the palette, or use the export buttons for CSS variables, JSON, or a downloadable PNG strip. The history panel keeps your last 20 colors.<\/li>\n<\/ol>\n<h2>What is a random color?<\/h2>\n<p>A &quot;random color&quot; is a color whose parameters are drawn by chance rather than picked by hand. This generator works in the HSL model: hue (position on the color wheel, 0\u2013360\u00b0), saturation (intensity, 0\u2013100%) and lightness (brightness, 0\u2013100%). Drawing all three at once produces any color the screen can show; restricting the draw to a window \u2014 high lightness and low saturation for pastels, high saturation and mid lightness for neon \u2014 produces a batch with a consistent mood.<\/p>\n<p>Because each swatch is stored as HSL, RGB and HEX at the same time, you can take the result straight into CSS, design tools or a color converter such as our <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/color-converter\/\">Color Converter<\/a> when you need a different notation.<\/p>\n<p>The randomness itself comes from <code>crypto.getRandomValues()<\/code>, the cryptographic random number generator built into your browser. There is no seed and no pattern, so two batches generated with the same settings will look completely different \u2014 the same principle behind our <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/password-generator\/\">Password Generator<\/a> and <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/uuid-generator\/\">UUID Generator<\/a>. A Math.random fallback only fires on very old browsers.<\/p>\n<p>The harmony options answer a common design problem: fully random colors rarely look good together. They solve it by drawing one extra random base hue and then placing the swatches at fixed angular offsets from it, which is why analogous, complementary and triadic batches feel coordinated even though every batch is new.<\/p>\n<h2>Interpreting the contrast ratios<\/h2>\n<p>Every swatch shows a WCAG 2.x contrast check: one ratio for black text and one for white text on that color. Ratios of 4.5:1 or higher meet the AA level for normal text, and 7:1 or higher meet AAA. The swatch labels itself with the better color. Treat this as a quick accessibility screen \u2014 if you plan real text on one of these colors, aim for the AA threshold for body text and 3:1 for large text.<\/p>\n<h2>Limitations and practical tips<\/h2>\n<ul>\n<li>Modes and harmonies combine freely, but <em>Grayscale<\/em> holds saturation at 0%, so the hue rotations of a harmony have no visible effect \u2014 switch the harmony off for pure random grays.<\/li>\n<li>HSL windows are simple and fast, not perceptually uniform. Two swatches of equal lightness can look differently bright (yellow vs. blue), so judge the final palette with your eyes, not the numbers alone.<\/li>\n<li>Locked swatches survive shuffles, mode changes and count changes, but a page reload resets everything \u2014 including the history panel, which lives only in this browser tab and is never stored or uploaded.<\/li>\n<li>Exports match the palette exactly as displayed, locked swatches included: the CSS block defines one custom property per color, the JSON carries HEX, RGB and HSL arrays per color, and the PNG is drawn locally on a canvas.<\/li>\n<li>If the Space bar does nothing in your setup, click the <strong>Shuffle<\/strong> number field and type a larger value \u2014 it redraws the same way.<\/li>\n<li>For random output in other forms \u2014 letters, orderings, text \u2014 see our <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/random-letter-generator\/\">Random Letter Generator<\/a> and <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/list-randomizer\/\">List Randomizer<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Roll a batch of 1\u201350 random colors as HEX, RGB and HSL. Pick a mode such as pastel, neon or grayscale, apply a palette harmony, lock your favorites, and copy or export everything with one click.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[64],"class_list":["post-67629","post","type-post","status-publish","format-standard","hentry","category-web-tools","tag-converter-tools"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=67629"}],"version-history":[{"count":1,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67629\/revisions"}],"predecessor-version":[{"id":67630,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67629\/revisions\/67630"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=67629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=67629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=67629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}