Skip to content
TheChatArchiveThe Chat Archive
Kimikimi-k2-0711-preview· Moonshot AIHugging Face LMArena Human Preference 140K

I want a website that shows the current time in different color valves he’d hex RgB and…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-3-7-sonnet-20250219-thinking-32k’s answer.
  1. User

    I want a website that shows the current time in different color valves he’d hex RgB and CMYK

  2. Kimi Assistant
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Time in Colors</title>
        <style>
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }
    
            body {
                font-family: 'Courier New', monospace;
                background: #0a0a0a;
                color: #fff;
                min-height: 100vh;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                transition: background 0.3s ease;
            }
    
            .container {
                text-align: center;
                padding: 2rem;
                max-width: 800px;
                width: 100%;
            }
    
            h1 {
                font-size: 2.5rem;
                margin-bottom: 2rem;
                text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
            }
    
            .time-display {
                font-size: 4rem;
                font-weight: bold;
                margin-bottom: 2rem;
                letter-spacing: 0.2rem;
                text-shadow: 0 0 20px currentColor;
            }
    
            .color-info {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 1.5rem;
                margin-top: 2rem;
            }
    
            .color-card {
                background: rgba(255, 255, 255, 0.1);
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255, 255, 255, 0.2);
                border-radius: 15px;
                padding: 1.5rem;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }
    
            .color-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
            }
    
            .color-label {
                font-size: 1.2rem;
                margin-bottom: 0.5rem;
                opacity: 0.8;
            }
    
            .color-value {
                font-size: 1.5rem;
                font-weight: bold;
                cursor: pointer;
                transition: opacity 0.3s ease;
            }
    
            .color-value:hover {
                opacity: 0.7;
            }
    
            .copy-notification {
                position: fixed;
                top: 20px;
                right: 20px;
                background: rgba(0, 255, 0, 0.2);
                border: 1px solid rgba(0, 255, 0, 0.5);
                padding: 1rem 2rem;
                border-radius: 10px;
                opacity: 0;
                transition: opacity 0.3s ease;
            }
    
            .copy-notification.show {
                opacity: 1;
            }
    
            @media (max-width: 600px) {
                .time-display {
                    font-size: 2.5rem;
                }
                
                h1 {
                    font-size: 2rem;
                }
            }
        </style>
    </head>
    <body>
        <div class="container">
            <h1>Current Time in Colors</h1>
            <div class="time-display" id="timeDisplay">00:00:00</div>
            
            <div class="color-info">
                <div class="color-card">
                    <div class="color-label">HEX</div>
                    <div class="color-value" id="hexValue" onclick="copyToClipboard(this.textContent)">#000000</div>
                </div>
                
                <div class="color-card">
                    <div class="color-label">RGB</div>
                    <div class="color-value" id="rgbValue" onclick="copyToClipboard(this.textContent)">rgb(0, 0, 0)</div>
                </div>
                
                <div class="color-card">
                    <div class="color-label">CMYK</div>
                    <div class="color-value" id="cmykValue" onclick="copyToClipboard(this.textContent)">cmyk(0%, 0%, 0%, 100%)</div>
                </div>
            </div>
        </div>
        
        <div class="copy-notification" id="copyNotification">Copied to clipboard!</div>
    
        <script>
            function updateTime() {
                const now = new Date();
                const hours = now.getHours().toString().padStart(2, '0');
                const minutes = now.getMinutes().toString().padStart(2, '0');
                const seconds = now.getSeconds().toString().padStart(2, '0');
                
                const timeString = `${hours}:${minutes}:${seconds}`;
                document.getElementById('timeDisplay').textContent = timeString;
                
                // Convert time to color values
                const r = Math.round((hours / 23) * 255);
                const g = Math.round((minutes / 59) * 255);
                const b = Math.round((seconds / 59) * 255);
                
                // Update HEX
                const hex = `#${r.toString(16).padStart(2, '0')}${g.toString(16).padStart(2, '0')}${b.toString(16).padStart(2, '0')}`;
                document.getElementById('hexValue').textContent = hex.toUpperCase();
                
                // Update RGB
                const rgb = `rgb(${r}, ${g}, ${b})`;
                document.getElementById('rgbValue').textContent = rgb;
                
                // Update CMYK
                const cmyk = rgbToCmyk(r, g, b);
                document.getElementById('cmykValue').textContent = cmyk;
                
                // Update background
                document.body.style.background = `linear-gradient(135deg, ${rgb}, ${hex})`;
            }
            
            function rgbToCmyk(r, g, b) {
                let c = 1 - (r / 255);
                let m = 1 - (g / 255);
                let y = 1 - (b / 255);
                
                const k = Math.min(c, m, y);
                
                if (k === 1) {
                    return 'cmyk(0%, 0%, 0%, 100%)';
                }
                
                c = ((c - k) / (1 - k)) * 100;
                m = ((m - k) / (1 - k)) * 100;
                y = ((y - k) / (1 - k)) * 100;
                const kPercent = k * 100;
                
                return `cmyk(${Math.round(c)}%, ${Math.round(m)}%, ${Math.round(y)}%, ${Math.round(kPercent)}%)`;
            }
            
            function copyToClipboard(text) {
                navigator.clipboard.writeText(text).then(() => {
                    const notification = document.getElementById('copyNotification');
                    notification.classList.add('show');
                    setTimeout(() => {
                        notification.classList.remove('show');
                    }, 2000);
                });
            }
            
            // Update time immediately and then every second
            updateTime();
            setInterval(updateTime, 1000);
        </script>
    </body>
    </html>
    

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.