Завдання про вовка, козу та капусту

75 views
Вовк #A0522D
Коза #FFFACD
Капуста #32CD32
Річка #1E90FF
Фермер #FFD700
#A0522D Вовк
#FFFACD Коза
#32CD32 Капуста
#1E90FF Річка
#FFD700 Фермер

Завдання про вовка, козу та капусту

About This Color Palette

Для створення алгоритму розв’язання задачі про еозу вовка, капусти та козла, а також візуалізації за допомогою блок-схеми, спочатку розглянемо саму задачу:

Задача:
Є фермер, вовк, коза і капуста. Фермер має переправити всіх через річку, але може перевезти лише одну особу за раз. Якщо залишити вовка з козою, вовк з’їсть козу. Якщо залишити козу з капустою, коза з’їсть капусту.

Алгоритм:

  1. Перевезти козу на інший берег.
  2. Повернутися на початковий берег.
  3. Перевезти вовка на інший берег.
  4. Повернутися з козою на початковий берег.
  5. Перевезти капусту на інший берег.
  6. Повернутися на початковий берег.
  7. Перевезти козу на інший берег.

Тепер ми можемо створити колірну палітру для візуалізації цієї задачі.

Колірна палітра:

json
{
  "palette_name": "Завдання про вовка, козу та капусту",
  "colors": [
    {
      "name": "Вовк",
      "hex_code": "
          
          #A0522D
       "
    },
    {
      "name": "Коза",
      "hex_code": "
          
          #FFFACD
       "
    },
    {
      "name": "Капуста",
      "hex_code": "
          
          #32CD32
       "
    },
    {
      "name": "Річка",
      "hex_code": "
          
          #1E90FF
       "
    },
    {
      "name": "Фермер",
      "hex_code": "
          
          #FFD700
       "
    }
  ]
}

Опис палітри:

  • Вовк ( #A0522D ): Темно-коричневий колір, що символізує вовка.
  • Коза ( #FFFACD ): Світло-жовтий колір, що представляє козу.
  • Капуста ( #32CD32 ): Яскравий зелений колір, що характеризує капусту.
  • Річка ( #1E90FF ): Яскраво-синій колір, що відображає річку.
  • Фермер ( #FFD700 ): Золотистий колір, що символізує фермера.

Які ще деталі вам потрібно про цю задачу чи блок-схему?

Customize Preview Colors

Upgrade to Pro
C
Croma
Dashboard
Analytics
Customers
Settings
John Doe
Admin
Search...

Overview

Welcome back, here's what's happening today.

+12%
$45,231
Total Revenue
+12%
2,345
Active Users
+12%
128
New Orders

Revenue Growth

Brand
Features Pricing About

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.

9:41

Good Morning

Here's your daily update

Today

Design Review
10:00 AM
Team Meeting
11:30 AM
Lunch Break
1:00 PM
Project Focus
2:00 PM
Home
Search
Profile
B
BrandName
Sponsored
...
New Collection

Summer
Sale

Get up to 50% off on all items.

1,234 likes
BrandName Don't miss out on our biggest sale of the season! #summersale #fashion

Logo Variations

B
BrandName
B
BrandName

Business Card

B
BrandName

John Doe

Creative Director

john.doe@brandname.com

+1 (555) 123-4567

www.brandname.com

Type Scale

Heading 1

Bold / 48px

Heading 2

Bold / 36px

Heading 3

Bold / 30px

Heading 4

Bold / 24px

Body text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Regular / 16px

Article Layout

Design Trends

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

variables.css

          

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.

Вовк

#A0522D

Tints

(Mixed with white - lighter)

Original

Shades

(Mixed with black - darker)

Коза

#FFFACD

Tints

(Mixed with white - lighter)

Original

Shades

(Mixed with black - darker)

Капуста

#32CD32

Tints

(Mixed with white - lighter)

Original

Shades

(Mixed with black - darker)

Річка

#1E90FF

Tints

(Mixed with white - lighter)

Original

Shades

(Mixed with black - darker)

Фермер

#FFD700

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 Pro

Color 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.

Contrast Ratio --

Normal Text

WCAG AA --
WCAG AAA --

Large Text

WCAG AA --
WCAG AAA --
AI

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.

Current: --
Run “Suggest Fixes” to see AI options.

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.

Other Similar Palettes

#F7C6A0
#E4C6A5
#FF6F61
#D8B400
#7D5B4D
#FFA94D
#F8F8F8
#A3C9A8
#FDF3E7
#F8E0D8
#A3B18A
#E5D4B3
#B0B3B1
#F6F4F1
#F5F1E8
#A3B18A
#D08C60
#6B4F3A
#E8D4B7
#F5E1B0
#F2D6A2
#D9C7A5
#F9F1E1
#D6CFC4
#EDC9A9
#D2B48C
#EEE8AA
#F7E7CE

Update Your Palette

Current Palette

Вовк
Коза
Капуста
Річка
Фермер

Завдання про вовка, козу та капусту

Try these examples:

New to HueHive? 🎨

Discover AI-powered color tools