Z13003

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z13003"
    },
    "Z2K2": {
        "Z1K1": "Z14",
        "Z14K1": "Z12997",
        "Z14K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z600",
            "Z16K2": "function Z12997(Z12997K1, Z12997K2) {\r\n    const colorMap = {\r\n        'black': '#000000', 'white': '#FFFFFF', 'red': '#FF0000', 'green': '#00FF00',\r\n        'blue': '#0000FF', 'yellow': '#FFFF00', 'cyan': '#00FFFF', 'magenta': '#FF00FF',\r\n        'gray': '#808080', 'maroon': '#800000', 'olive': '#808000', 'navy': '#000080',\r\n        'purple': '#800080', 'teal': '#008080', 'silver': '#C0C0C0', 'lime': '#00FF00',\r\n        'aqua': '#00FFFF', 'fuchsia': '#FF00FF', 'orange': '#FFA500', 'pink': '#FFC0CB',\r\n        'brown': '#A52A2A', 'coral': '#FF7F50', 'gold': '#FFD700', 'indigo': '#4B0082',\r\n        'ivory': '#FFFFF0', 'khaki': '#F0E68C', 'lavender': '#E6E6FA', 'orchid': '#DA70D6',\r\n        'plum': '#DDA0DD', 'salmon': '#FA8072'\r\n    };\r\n\r\n    let Z12997K1Lower = Z12997K1.toLowerCase();\r\n    let Z12997K2Lower = Z12997K2.toLowerCase();\r\n\r\n    if (colorMap.hasOwnProperty(Z12997K1Lower)) {\r\n        Z12997K1 = colorMap[Z12997K1Lower];\r\n    }\r\n    if (colorMap.hasOwnProperty(Z12997K2Lower)) {\r\n        Z12997K2 = colorMap[Z12997K2Lower];\r\n    }\r\n\r\n    if (!(Z12997K1.startsWith('#') \u0026\u0026 Z12997K2.startsWith('#'))) {\r\n        return \"Invalid color format.\";\r\n    }\r\n\r\n    let rgb1 = [\r\n        parseInt(Z12997K1.substring(1, 3), 16),\r\n        parseInt(Z12997K1.substring(3, 5), 16),\r\n        parseInt(Z12997K1.substring(5, 7), 16)\r\n    ];\r\n\r\n    let rgb2 = [\r\n        parseInt(Z12997K2.substring(1, 3), 16),\r\n        parseInt(Z12997K2.substring(3, 5), 16),\r\n        parseInt(Z12997K2.substring(5, 7), 16)\r\n    ];\r\n\r\n    let mixedRgb = [\r\n        Math.floor((rgb1[0] + rgb2[0]) / 2),\r\n        Math.floor((rgb1[1] + rgb2[1]) / 2),\r\n        Math.floor((rgb1[2] + rgb2[2]) / 2)\r\n    ];\r\n\r\n    let mixedColor = '#' +\r\n        mixedRgb[0].toString(16).padStart(2, '0') +\r\n        mixedRgb[1].toString(16).padStart(2, '0') +\r\n        mixedRgb[2].toString(16).padStart(2, '0');\r\n\r\n    return mixedColor;\r\n}\r\n"
        }
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "Mix colors (javascript)"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1011",
                "Z11K2": "রঙের মিশ্রন (জাভাস্ক্রিপ্ট)"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1014",
                "Z11K2": "Ngwakọta agba (JavaScript )"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1430",
                "Z11K2": "mische Farben in JavaScript"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1004",
                "Z11K2": "Mélanger des couleurs en JavaScript"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    }
}