Логічна задача
About This Color Palette
Перед тим, як створити алгоритм, я підготую кольорову палітру, яка може бути використана для візуалізації блок-схеми. Ось палітра, що містить кольори, які можуть надати естетичний вигляд вашій схемі.
json
{
"palette_name": "Логічна задача",
"colors": [
{
"name": "Глибокий синій",
"hex_code": "
#003366
"
},
{
"name": "Яскравий зелений",
"hex_code": "
#66CC66
"
},
{
"name": "Сонячний жовтий",
"hex_code": "
#FFCC00
"
},
{
"name": "Теплий помаранчевий",
"hex_code": "
#FF6600
"
},
{
"name": "Нейтральний сірий",
"hex_code": "
#A9A9A9
"
}
]
}
Опис палітри:
Ця палітра названа “Логічна задача” і містить кольори, які можуть бути використані для візуалізації блок-схеми. Глибокий синій може бути використаний для заголовків або основних блоків, яскравий зелений для успішних рішень, сонячний жовтий для попереджень або важливих нотаток, теплий помаранчевий для дій, а нейтральний сірий для фону або допоміжних елементів.
Алгоритм для розв’язання задачі про козу та вовка:
- Початок: Ініціювати процедуру.
- Перевірити умови: Чи є коза та вовк на одному березі?
- Так: Продовжити.
- Ні: Перейти до кроку 6.
- Вивести дію: Якщо коза і вовк на одному березі, то:
- Вивести повідомлення “Коза та вовк на одному березі”.
- Перевірити можливості: Чи є можливість перевезти козу на інший берег?
- Так: Перевезти козу.
- Ні: Перейти до кроку 5.
- Вивести дію: Якщо немає можливості:
- Вивести повідомлення “Неможливо перевезти козу”.
- Перевезти вовка: Якщо коза на іншому березі, перевезти вовка.
- Перевірити результат: Чи всі персонажі на іншому березі?
- Так: Вивести повідомлення “Всі успішно перевезені”.
- Ні: Повернутися до кроку 2.
- Кінець: Завершити процедуру.
Які ще деталі вам потрібні для візуалізації або пояснення алгоритму?
Customize Preview Colors
Upgrade to ProOverview
Welcome back, here's what's happening today.
Revenue Growth
Build something amazing
Create stunning designs with our AI-powered color palette generator. Perfect for web, mobile, and print.
Fast Performance
Optimized for speed and efficiency.
Secure by Default
Enterprise-grade security built-in.
Easy to Use
Intuitive interface for everyone.
Good Morning
Here's your daily update
Today
Logo Variations
Business Card
John Doe
Creative Director
john.doe@brandname.com
+1 (555) 123-4567
www.brandname.com
Type Scale
Heading 1
Bold / 48pxHeading 2
Bold / 36pxHeading 3
Bold / 30pxHeading 4
Bold / 24pxBody text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Regular / 16pxArticle Layout
The Future of Color
Color trends are evolving rapidly. We are seeing a shift towards more vibrant, expressive palettes that capture attention and evoke emotion.
"Color is a power which directly influences the soul."
Why it matters
Choosing the right color palette is crucial for brand identity. It communicates values without words and creates an instant connection with the audience.
Abstract
Composition #01
Download Files
Copy Code
Simulate how your palette appears to users with different types of color vision deficiencies. Approximately 8% of men and 0.5% of women have some form of color blindness.
Original Palette
Protanopia
Red-blind (approx. 1% of men)
Deuteranopia
Green-blind (approx. 1% of men)
Tritanopia
Blue-blind (very rare)
Achromatopsia
Total color blindness (monochromacy)
Shades & Tints
Explore lighter variations (tints) and darker variations (shades) of each color. Click any color to copy its hex code.
Глибокий синій
#003366
Tints
(Mixed with white - lighter)Original
Shades
(Mixed with black - darker)Яскравий зелений
#66CC66
Tints
(Mixed with white - lighter)Original
Shades
(Mixed with black - darker)Сонячний жовтий
#FFCC00
Tints
(Mixed with white - lighter)Original
Shades
(Mixed with black - darker)Теплий помаранчевий
#FF6600
Tints
(Mixed with white - lighter)Original
Shades
(Mixed with black - darker)Нейтральний сірий
#A9A9A9
Tints
(Mixed with white - lighter)Original
Shades
(Mixed with black - darker)Color Theory Analysis
Unlock advanced color wheel distribution, harmony detection, and HSL color analysis with Pro.
Upgrade to ProColor Wheel Distribution
Harmony Analysis
Dominant Temperature
--
Harmony Type
--
Analyzing color relationships...
Color Values (HSL)
Background Color
Colors
Text Color
Colors
Preview & Analysis
Aa
The quick brown fox jumps over the lazy dog.
Normal Text
Large Text
AI Contrast Fix Suggestions
Suggests background & text tweaks to reach WCAG targets.
Log in to unlock 3 free AI tries
Ready to suggest tweaks for AA/AAA.
Suggested pairs
Shortest hop that clears WCAG AA/AAA.
Understanding Contrast Ratios
4.5:1 (Level AA)
The minimum required contrast ratio for normal text to be considered accessible under WCAG 2.1 Level AA. For large text, the requirement is lower at 3.0:1. This is the standard target for most web content.
7.0:1 (Level AAA)
The "gold standard" for accessibility. Achieving a 7.0:1 ratio ensures that your text is readable even for people with significant vision loss. For large text, the AAA requirement is 4.5:1.
What counts as Large Text?
WCAG defines large text as anything 18pt (approx. 24px) or larger, or 14pt (approx. 18.66px) and bold or larger. Most headings fall into this category.
Why it matters
Proper contrast is essential for everyone, but especially for people with color blindness, low vision, or those viewing screens in bright sunlight.