日本語

🎨 Color Generation Algorithm Comparison

Beautiful color generation based on mathematical theories

Overview

This project implements five color generation algorithms. Each algorithm provides color combinations suitable for different purposes and design requirements.

Equidistant Colors

Optimal for data visualization

Fibonacci Colors

Mathematically interesting

Color Wheel Colors

Based on design theory

Golden Ratio Colors

Recreates natural beauty

Alternating Colors

Cold and warm color alternation

Color Generation Algorithm Comparison

Equidistant Colors - 20 colors

generateEquidistantColors(20) - The simplest and most reliable method for color distribution

Generates colors by dividing the 360-degree hue spectrum equally. Most commonly used in data visualization, providing predictable and evenly distributed colors. Simple and suitable when many colors are needed.
Reference: J. Chao, I. Osugi, and M. Suzuki, "On Definitions and Construction of Uniform Color Space," in Conference on Colour in Graphics, Imaging, and Vision, vol. 2, no. 1, 2004, p. 55. doi: 10.2352/CGIV.2004.2.1.art00012.

Fibonacci Colors - 20 colors

generateFibonacciColors(20) - Mathematically interesting colors using the Fibonacci sequence

Uses the reciprocal of the Fibonacci sequence (approximately 0.382) to determine hue. Similar to the golden ratio but generates a more mathematically interesting distribution. Suitable for artistic applications and design, creating color distributions with natural beauty.

Color Wheel Colors - 20 colors

generateColorWheelColors(20) - Sophisticated color combinations based on color wheel theory

Generates colors based on primary hues (red, yellow, green, cyan, blue, magenta) using complementary and triadic color theory. Optimal for design and art, providing harmonious color schemes based on color theory. Uses primary hues directly for 6 colors or fewer, and interpolation for more colors.
Reference: J. Itten, The Art of Color. [https://www.blinkist.com/en/books/the-art-of-color-en](https://www.blinkist.com/en/books/the-art-of-color-en)

Golden Ratio Colors - 20 colors

generateGoldenRatioColors(20) - Applying nature's beautiful ratio to color

Uses the golden ratio (approximately 0.618) to determine hue. A beautiful ratio found abundantly in nature, generating visually harmonious color distributions. Suitable for artistic works and premium designs, creating color combinations that feel natural and beautiful to the human eye. Mathematically interesting, generating infinite color patterns.
Reference: "Introduction, Explanation & Calculation," Golden Ratio Colors.[https://goldenratiocolors.com/introduction-explanation-calculation-golden-ratio-colours/](https://goldenratiocolors.com/introduction-explanation-calculation-golden-ratio-colours/)

Alternating Colors - 20 colors

generateAlternatingColors(20) - Color combinations with cold and warm color contrast

Generates colors by dividing the cold color range (200°-300°) into n parts. Even indices use cold colors, odd indices use their complementary colors (warm colors), emphasizing visual contrast. Suitable for data visualization and UI design. Unified color combinations optimal for candle charts and data displays requiring contrast.

Interactive Color Generation

Current Settings

Algorithm: Golden Ratio Colors
Colors: 10
Saturation: 0.8
Lightness: 0.6

Generated Colors