Replaced fixed 6-color palette with dynamic HSL color generation using the golden ratio for optimal color distribution. Changes: - Removed static CSS color classes (user-0 through user-5) - Added getUserColor() function using golden ratio - Colors generated as HSL(hue, 85%, 65%) - Each user gets a unique, visually distinct color - Supports unlimited users (20+) How it works: - Golden ratio (φ ≈ 0.618) distributes hues evenly across color wheel - User 1: hue 0° - User 2: hue 222° (0.618 * 360) - User 3: hue 85° ((0.618 * 2 * 360) % 360) - etc. Benefits: - No color repetition for any number of users - Maximum visual distinction between consecutive users - Consistent brightness/saturation for readability - Colors are vibrant and stand out on dark backgrounds 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
6.0 KiB
6.0 KiB