{"id":8310151,"date":"2025-09-04T06:13:42","date_gmt":"2025-09-04T03:13:42","guid":{"rendered":"https:\/\/elementor.com\/tools\/?p=8310151"},"modified":"2025-09-04T06:19:57","modified_gmt":"2025-09-04T03:19:57","slug":"tailwind-color-palette-generator","status":"publish","type":"post","link":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/","title":{"rendered":"Tailwind Color Palette Generator"},"content":{"rendered":"\t\t<div data-elementor-type=\"container\" data-elementor-id=\"8310150\" class=\"elementor elementor-8310150\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-23691a2c e-flex e-con-boxed e-con e-parent\" data-id=\"23691a2c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-37c3711c elementor-widget elementor-widget-html\" data-id=\"37c3711c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\r\n    \/* General App Styles (Adapted from your CSS) *\/\r\n    .tailwind-palette-app {\r\n        width: 100%;\r\n        max-width: 1280px;\r\n        margin: 0 auto;\r\n        padding: 60px 0 0;\r\n        font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\r\n    }\r\n\r\n    .section-header {\r\n        background-color: #05047E;\r\n        color: white;\r\n        padding: 12px 20px;\r\n        font-weight: 500;\r\n        font-size: 1.125rem;\r\n        border-radius: 8px 8px 0 0;\r\n    }\r\n\r\n    \/* Controls Section *\/\r\n    .controls-section {\r\n        background: white;\r\n        border: 1.5px solid #EBEBEB;\r\n        border-radius: 8px;\r\n        margin-bottom: 40px;\r\n        box-shadow: 0 4px 12px rgba(0,0,0,0.08);\r\n    }\r\n    \r\n    .controls-body {\r\n        padding: 24px;\r\n        display: flex;\r\n        flex-wrap: wrap;\r\n        gap: 20px;\r\n        align-items: center;\r\n    }\r\n    \r\n    .control-group {\r\n        display: flex;\r\n        flex-direction: column;\r\n        gap: 8px;\r\n        flex-grow: 1;\r\n    }\r\n\r\n    .control-group label {\r\n        font-size: 14px;\r\n        font-weight: 500;\r\n        color: #333;\r\n    }\r\n\r\n    .control-group input[type=\"text\"],\r\n    .control-group input[type=\"color\"] {\r\n        border: 1.5px solid #EBEBEB;\r\n        border-radius: 4px;\r\n        padding: 10px;\r\n        font-size: 1rem;\r\n    }\r\n    \r\n    .control-group input[type=\"text\"] {\r\n         min-width: 120px;\r\n    }\r\n    \r\n    .control-group input[type=\"color\"] {\r\n        width: 50px;\r\n        height: 45px;\r\n        padding: 5px;\r\n        cursor: pointer;\r\n    }\r\n\r\n    \/* Buttons (Adapted from your CSS) *\/\r\n    .format-btn {\r\n        background-color: #000;\r\n        color: white;\r\n        border: none;\r\n        padding: 12px 20px;\r\n        cursor: pointer;\r\n        font-size: 1.125rem;\r\n        font-weight: 500;\r\n        transition: all 0.2s;\r\n        min-width: 11rem;\r\n        text-align: center;\r\n        border-radius: 4px;\r\n        margin-top: auto; \/* Align with inputs *\/\r\n    }\r\n\r\n    .format-btn:is(:hover, :focus) {\r\n        background-color: #545454;\r\n    }\r\n    \r\n    .copy-btn {\r\n        background-color: rgb(255, 255, 255);\r\n        color: black;\r\n        border: 1px solid #ddd;\r\n        padding: 8px 12px;\r\n        border-radius: 4px;\r\n        cursor: pointer;\r\n        font-size: 13px;\r\n        display: flex;\r\n        align-items: center;\r\n        gap: 6px;\r\n        transition: background-color 0.2s;\r\n        box-shadow: 0 0 10px rgba(0,0,0,0.05);\r\n    }\r\n    .copy-btn:is(:hover, :focus) {\r\n        background-color: #f6f6f6 !important;\r\n    }\r\n    \r\n    \/* Palette Display *\/\r\n    #palette-display {\r\n        display: grid;\r\n        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));\r\n        gap: 1px;\r\n        background-color: #EBEBEB;\r\n        border: 1.5px solid #EBEBEB;\r\n        overflow: hidden;\r\n        border-radius: 8px;\r\n        margin-bottom: 40px;\r\n        box-shadow: 0 4px 12px rgba(0,0,0,0.08);\r\n    }\r\n\r\n    .color-swatch {\r\n        padding: 16px 12px;\r\n        text-align: center;\r\n        font-size: 14px;\r\n        font-weight: 500;\r\n        cursor: pointer;\r\n        transition: transform 0.15s ease-out;\r\n        position: relative;\r\n    }\r\n\r\n    .color-swatch:hover {\r\n       transform: scale(1.05);\r\n       z-index: 10;\r\n       box-shadow: 0 5px 15px rgba(0,0,0,0.2);\r\n       border-radius: 4px;\r\n    }\r\n\r\n    .color-swatch .shade {\r\n        display: block;\r\n        margin-bottom: 8px;\r\n    }\r\n    .color-swatch .hex-code {\r\n        display: block;\r\n        font-family: 'Courier New', monospace;\r\n        font-size: 13px;\r\n        opacity: 0.8;\r\n    }\r\n\r\n    \/* Code Output (Adapted from your CSS) *\/\r\n    .output-section {\r\n        position: relative;\r\n        background: white;\r\n        border-radius: 8px;\r\n        overflow: hidden;\r\n        border: 1.5px solid #EBEBEB;\r\n        box-shadow: 0 4px 12px rgba(0,0,0,0.08);\r\n    }\r\n    .copy-btn-container {\r\n        position: absolute;\r\n        top: 6px;\r\n        right: 6px;\r\n        z-index: 100;\r\n    }\r\n    .output-container {\r\n        background-color: #fdfdfd;\r\n        max-height: 400px;\r\n        overflow: auto;\r\n    }\r\n    .output-code {\r\n        width: 100%;\r\n        height: 100%;\r\n        border: none;\r\n        outline: none;\r\n        padding: 20px;\r\n        font-family: 'Courier New', monospace;\r\n        font-size: 14px;\r\n        line-height: 1.6;\r\n        background-color: transparent;\r\n        color: #333;\r\n        white-space: pre;\r\n    }\r\n\r\n    \/* Success Message (Adapted from your CSS) *\/\r\n    .success-message {\r\n        position: fixed;\r\n        bottom: 20px;\r\n        left: 50%;\r\n        transform: translateX(-50%) translateY(100%);\r\n        background-color: #05047E;\r\n        color: white;\r\n        padding: 12px 20px;\r\n        border-radius: 4px;\r\n        font-size: 14px;\r\n        opacity: 0;\r\n        transition: all 0.3s ease;\r\n        z-index: 1000;\r\n        pointer-events: none;\r\n    }\r\n    .success-message.show {\r\n        opacity: 1;\r\n        transform: translateX(-50%) translateY(0);\r\n    }\r\n    \r\n    \/* Responsive *\/\r\n    @media (max-width: 768px) {\r\n       .controls-body {\r\n           flex-direction: column;\r\n           align-items: stretch;\r\n       }\r\n       .format-btn {\r\n           width: 100%;\r\n       }\r\n    }\r\n<\/style>\r\n\r\n<div class=\"tailwind-palette-app\">\r\n\r\n    <!-- ==== CONTROLS ==== -->\r\n    <div class=\"controls-section\">\r\n        <div class=\"section-header\">Palette Generator Controls<\/div>\r\n        <div class=\"controls-body\">\r\n            <div class=\"control-group\">\r\n                <label for=\"paletteName\">Palette Name<\/label>\r\n                <input type=\"text\" id=\"paletteName\" value=\"primary\" placeholder=\"e.g., primary, brand, neutral\">\r\n            <\/div>\r\n            <div class=\"control-group\">\r\n                <label for=\"baseColorHex\">Base Color (500)<\/label>\r\n                <input type=\"text\" id=\"baseColorHex\" value=\"#3b82f6\" placeholder=\"#3b82f6\">\r\n            <\/div>\r\n             <div class=\"control-group\">\r\n                <label for=\"baseColorPicker\">&nbsp;<\/label>\r\n                <input type=\"color\" id=\"baseColorPicker\" value=\"#3b82f6\">\r\n            <\/div>\r\n            <button id=\"generateBtn\" class=\"format-btn\">Generate<\/button>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <!-- ==== PALETTE DISPLAY ==== -->\r\n    <div id=\"palette-display\">\r\n        <!-- Color swatches will be generated here by JavaScript -->\r\n    <\/div>\r\n\r\n    <!-- ==== CODE OUTPUT ==== -->\r\n    <div class=\"output-section\">\r\n        <div class=\"section-header\">Tailwind Config Code<\/div>\r\n        <div class=\"copy-btn-container\">\r\n            <button id=\"copyAllBtn\" class=\"copy-btn\">\r\n                <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">\r\n                    <path d=\"M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z\"\/>\r\n                    <path d=\"M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zM-1 7a.5.5 0 0 1 .5-.5h15a.5.5 0 0 1 0 1h-15A.5.5 0 0 1-1 7z\"\/>\r\n                <\/svg>\r\n                <span>Copy Config<\/span>\r\n            <\/button>\r\n        <\/div>\r\n        <div class=\"output-container\">\r\n            <pre><code id=\"tailwind-config-output\" class=\"output-code\">\/\/ Click \"Generate\" to create the config code...<\/code><\/pre>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <!-- Success Message -->\r\n    <div id=\"successMessage\" class=\"success-message\">Copied to clipboard!<\/div>\r\n<\/div>\r\n\r\n<script>\r\ndocument.addEventListener('DOMContentLoaded', () => {\r\n\r\n    \/\/ --- DOM Elements ---\r\n    const generateBtn = document.getElementById('generateBtn');\r\n    const paletteNameInput = document.getElementById('paletteName');\r\n    const baseColorHexInput = document.getElementById('baseColorHex');\r\n    const baseColorPicker = document.getElementById('baseColorPicker');\r\n    const paletteDisplay = document.getElementById('palette-display');\r\n    const tailwindConfigOutput = document.getElementById('tailwind-config-output');\r\n    const copyAllBtn = document.getElementById('copyAllBtn');\r\n    const successMessage = document.getElementById('successMessage');\r\n\r\n    \/\/ --- Color Conversion Utilities ---\r\n    const hexToRgb = (hex) => {\r\n        let result = \/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$\/i.exec(hex);\r\n        return result ? {\r\n            r: parseInt(result[1], 16),\r\n            g: parseInt(result[2], 16),\r\n            b: parseInt(result[3], 16)\r\n        } : null;\r\n    };\r\n\r\n    const rgbToHex = (r, g, b) => {\r\n        return \"#\" + ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1).toLowerCase();\r\n    };\r\n\r\n    const getContrastingTextColor = (hex) => {\r\n        const rgb = hexToRgb(hex);\r\n        if (!rgb) return '#000000';\r\n        const luminance = (0.299 * rgb.r + 0.587 * rgb.g + 0.114 * rgb.b) \/ 255;\r\n        return luminance > 0.5 ? '#000000' : '#FFFFFF';\r\n    };\r\n    \r\n    \/\/ Linear interpolation\r\n    const lerp = (start, end, amount) => {\r\n        return (1 - amount) * start + amount * end;\r\n    };\r\n    \r\n    const generatePalette = (baseHex) => {\r\n        const baseRgb = hexToRgb(baseHex);\r\n        if (!baseRgb) return null;\r\n\r\n        const palette = {};\r\n        const shades = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900];\r\n        \r\n        \/\/ Generate lighter shades (50-400) by mixing with white\r\n        for(let i = 0; i < 5; i++) {\r\n            const shade = shades[i];\r\n            const amount = (5 - i) \/ 5 * 0.9; \/\/ 0.9, 0.72, 0.54, 0.36, 0.18\r\n            const r = Math.round(lerp(baseRgb.r, 255, amount));\r\n            const g = Math.round(lerp(baseRgb.g, 255, amount));\r\n            const b = Math.round(lerp(baseRgb.b, 255, amount));\r\n            palette[shade] = rgbToHex(r, g, b);\r\n        }\r\n\r\n        \/\/ Base shade\r\n        palette[500] = baseHex;\r\n\r\n        \/\/ Generate darker shades (600-900) by mixing with black\r\n        for (let i = 6; i < 10; i++) {\r\n            const shade = shades[i];\r\n            const amount = (i - 5) \/ 4 * 0.85; \/\/ 0.21, 0.42, 0.64, 0.85\r\n            const r = Math.round(lerp(baseRgb.r, 0, amount));\r\n            const g = Math.round(lerp(baseRgb.g, 0, amount));\r\n            const b = Math.round(lerp(baseRgb.b, 0, amount));\r\n            palette[shade] = rgbToHex(r, g, b);\r\n        }\r\n        \r\n        return palette;\r\n    };\r\n\r\n    \/\/ --- Main Functions ---\r\n    const updateUI = () => {\r\n        const paletteName = paletteNameInput.value || 'primary';\r\n        const baseColor = baseColorHexInput.value;\r\n        \r\n        if (!\/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$\/.test(baseColor)) {\r\n            paletteDisplay.innerHTML = `<p style=\"padding: 20px; color: #cf2e2e; grid-column: 1 \/ -1;\">Invalid HEX color code.<\/p>`;\r\n            tailwindConfigOutput.textContent = `\/\/ Invalid HEX color code.`;\r\n            return;\r\n        }\r\n\r\n        const palette = generatePalette(baseColor);\r\n        if (!palette) return;\r\n\r\n        \/\/ Update color swatches\r\n        paletteDisplay.innerHTML = '';\r\n        Object.entries(palette).forEach(([shade, hex]) => {\r\n            const swatch = document.createElement('div');\r\n            swatch.className = 'color-swatch';\r\n            swatch.style.backgroundColor = hex;\r\n            swatch.style.color = getContrastingTextColor(hex);\r\n            swatch.dataset.hex = hex;\r\n            \r\n            swatch.innerHTML = `\r\n                <span class=\"shade\">${shade}<\/span>\r\n                <span class=\"hex-code\">${hex}<\/span>\r\n            `;\r\n            swatch.addEventListener('click', () => copyToClipboard(hex, `Copied ${hex}!`));\r\n            paletteDisplay.appendChild(swatch);\r\n        });\r\n        \r\n        \/\/ Update Tailwind config output\r\n        let configString = `\/\/ Add this to your tailwind.config.js theme.extend.colors\\n`;\r\n        configString += `'${paletteName}': {\\n`;\r\n        Object.entries(palette).forEach(([shade, hex]) => {\r\n            configString += `  '${shade}': '${hex}',\\n`;\r\n        });\r\n        configString += `},`;\r\n        tailwindConfigOutput.textContent = configString;\r\n    };\r\n    \r\n    const showSuccessMessage = (message) => {\r\n        successMessage.textContent = message;\r\n        successMessage.classList.add('show');\r\n        setTimeout(() => {\r\n            successMessage.classList.remove('show');\r\n        }, 2000);\r\n    };\r\n\r\n    const copyToClipboard = (text, message = 'Copied to clipboard!') => {\r\n        if (navigator.clipboard) {\r\n            navigator.clipboard.writeText(text).then(() => {\r\n                showSuccessMessage(message);\r\n            }).catch(err => {\r\n                console.error('Failed to copy: ', err);\r\n            });\r\n        }\r\n    };\r\n    \r\n    \/\/ --- Event Listeners ---\r\n    generateBtn.addEventListener('click', updateUI);\r\n    \r\n    copyAllBtn.addEventListener('click', () => {\r\n        copyToClipboard(tailwindConfigOutput.textContent, 'Config copied!');\r\n    });\r\n    \r\n    \/\/ Sync text input and color picker\r\n    baseColorHexInput.addEventListener('input', (e) => {\r\n        const hex = e.target.value;\r\n        if (\/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$\/.test(hex)) {\r\n            baseColorPicker.value = hex;\r\n        }\r\n    });\r\n\r\n    baseColorPicker.addEventListener('input', (e) => {\r\n        baseColorHexInput.value = e.target.value;\r\n    });\r\n\r\n    \/\/ --- Initial Load ---\r\n    updateUI();\r\n});\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[22],"tags":[21],"class_list":["post-8310151","post","type-post","status-publish","format-standard","hentry","category-tools","tag-html-css-tools"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tailwind Color Palette Generator<\/title>\n<meta name=\"description\" content=\"Easily generate beautiful Tailwind CSS color palettes for your Elementor website. Our tool helps you create harmonious, on-brand schemes in 3 simple steps. Try it now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tailwind Color Palette Generator\" \/>\n<meta property=\"og:description\" content=\"Easily generate beautiful Tailwind CSS color palettes for your Elementor website. Our tool helps you create harmonious, on-brand schemes in 3 simple steps. Try it now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/\" \/>\n<meta property=\"og:site_name\" content=\"Tools\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-04T03:13:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-04T03:19:57+00:00\" \/>\n<meta name=\"author\" content=\"liz@148.red\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"liz@148.red\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/\"},\"author\":{\"name\":\"liz@148.red\",\"@id\":\"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac\"},\"headline\":\"Tailwind Color Palette Generator\",\"datePublished\":\"2025-09-04T03:13:42+00:00\",\"dateModified\":\"2025-09-04T03:19:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/\"},\"wordCount\":6,\"keywords\":[\"Html-Css-tools\"],\"articleSection\":[\"tools\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/\",\"url\":\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/\",\"name\":\"Tailwind Color Palette Generator\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/tools\/#website\"},\"datePublished\":\"2025-09-04T03:13:42+00:00\",\"dateModified\":\"2025-09-04T03:19:57+00:00\",\"author\":{\"@id\":\"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac\"},\"description\":\"Easily generate beautiful Tailwind CSS color palettes for your Elementor website. Our tool helps you create harmonious, on-brand schemes in 3 simple steps. Try it now!\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/elementor.com\/tools\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tailwind Color Palette Generator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/tools\/#website\",\"url\":\"https:\/\/elementor.com\/tools\/\",\"name\":\"Tools\",\"description\":\"Just another Elementor hosted website ;)\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/tools\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac\",\"name\":\"liz@148.red\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g\",\"caption\":\"liz@148.red\"},\"url\":\"https:\/\/elementor.com\/tools\/author\/liz148-red\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tailwind Color Palette Generator","description":"Easily generate beautiful Tailwind CSS color palettes for your Elementor website. Our tool helps you create harmonious, on-brand schemes in 3 simple steps. Try it now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/","og_locale":"en_US","og_type":"article","og_title":"Tailwind Color Palette Generator","og_description":"Easily generate beautiful Tailwind CSS color palettes for your Elementor website. Our tool helps you create harmonious, on-brand schemes in 3 simple steps. Try it now!","og_url":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/","og_site_name":"Tools","article_published_time":"2025-09-04T03:13:42+00:00","article_modified_time":"2025-09-04T03:19:57+00:00","author":"liz@148.red","twitter_card":"summary_large_image","twitter_misc":{"Written by":"liz@148.red","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/"},"author":{"name":"liz@148.red","@id":"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac"},"headline":"Tailwind Color Palette Generator","datePublished":"2025-09-04T03:13:42+00:00","dateModified":"2025-09-04T03:19:57+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/"},"wordCount":6,"keywords":["Html-Css-tools"],"articleSection":["tools"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/","url":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/","name":"Tailwind Color Palette Generator","isPartOf":{"@id":"https:\/\/elementor.com\/tools\/#website"},"datePublished":"2025-09-04T03:13:42+00:00","dateModified":"2025-09-04T03:19:57+00:00","author":{"@id":"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac"},"description":"Easily generate beautiful Tailwind CSS color palettes for your Elementor website. Our tool helps you create harmonious, on-brand schemes in 3 simple steps. Try it now!","breadcrumb":{"@id":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/tools\/tailwind-color-palette-generator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elementor.com\/tools\/"},{"@type":"ListItem","position":2,"name":"Tailwind Color Palette Generator"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/tools\/#website","url":"https:\/\/elementor.com\/tools\/","name":"Tools","description":"Just another Elementor hosted website ;)","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/tools\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac","name":"liz@148.red","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g","caption":"liz@148.red"},"url":"https:\/\/elementor.com\/tools\/author\/liz148-red\/"}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts\/8310151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/comments?post=8310151"}],"version-history":[{"count":1,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts\/8310151\/revisions"}],"predecessor-version":[{"id":8310154,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts\/8310151\/revisions\/8310154"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/media?parent=8310151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/categories?post=8310151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/tags?post=8310151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}