Overview
The Tint System uses a set of parameters to define the global color overlay applied to all transformed colors. These parameters are all CORE parameters because they define theme identity using polar coordinates (hue angles, saturation percentages).Copy
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β TINT PARAMETERS OVERVIEW β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β TINT = Global color "wash" applied to all transformed colors β
β β
β Three components (all CORE - polar/hue-based): β
β β
β 1. tintHue β WHAT color to tint toward (0-360 degrees) β
β 2. tintStrength β HOW MUCH to apply the tint (0-100%) β
β 3. tintChroma β HOW SATURATED the tint is (0-0.4) β
β β
β VISUAL METAPHOR: β
β ββββββββββββββββ β
β β
β Imagine looking through a tinted glass: β
β β
β tintHue = 250 (Blue) tintHue = 30 (Orange) tintHue = 150 (Cyan) β
β βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ β
β β Blue Tint β β Warm Tint β β Cool Tint β β
β βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ β
β β
β tintStrength controls how "thick" the glass is β
β tintChroma controls how "saturated" the glass color is β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
tintHue Parameter
The hue angle that all colors are pulled toward.Copy
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β tintHue PARAMETER β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Definition: The hue angle (in degrees) that all colors are pulled toward β
β Range: 0 - 360 degrees β
β Default: 250 degrees (Blue-Purple) β
β Unit: Degrees on OkLCH color wheel β
β β
β HUE WHEEL REFERENCE β
β β
β 0/360 degrees β
β (Red) β
β β β
β 330 β 30 β
β (Pink) β (Orange) β
β \ β / β
β \ β / β
β 270 βββββββββββββββββββββββββββββ 90 β
β (Blue) (Yellow-Green) β
β / β \ β
β / β \ β
β 210 β 150 β
β (Cyan) β (Green) β
β β β
β 180 degrees β
β (Cyan) β
β β
β COMMON tintHue VALUES: β
β ββββββββββββββββββββββββ β
β 250 β Blue theme (monolex-night, dracula) β
β 200 β Cyan theme (solarized) β
β 30 β Warm/Orange theme (orange-pro) β
β 130 β Green theme (monolex-forest) β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Hue Blending Algorithm
Theblend_hue function uses the shortest path around the color wheel:
Copy
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BLEND_HUE ALGORITHM FLOW β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β INPUT: source_hue, tint_hue, strength β
β β
β strength == 0? β
β β β
β YES ββ΄βββΊ Return source_hue unchanged (bypass) β
β β β
β NO βββ΄βββΊ Calculate shortest path: β
β β β
β βββ delta = tint_hue - source_hue β
β β β
β βββ Wrap to [-180, 180]: β
β β while delta > 180 β delta -= 360 β
β β while delta < -180 β delta += 360 β
β β β
β βββ Blend: blended = source + (delta Γ strength) β
β β β
β βββ Normalize to [0, 360) β
β β
β OUTPUT: blended hue (shortest arc path on color wheel) β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Copy
fn blend_hue(source_hue: f32, tint_hue: f32, strength: f32) -> f32 {
if strength == 0.0 {
return source_hue;
}
// Calculate shortest path around the circle
let mut delta = tint_hue - source_hue;
// Wrap to [-180, 180]
while delta > 180.0 { delta -= 360.0; }
while delta < -180.0 { delta += 360.0; }
// Blend by strength percentage
let blended = source_hue + delta * strength;
// Normalize to [0, 360)
blended.rem_euclid(360.0)
}
tintStrength Parameter
Controls how much the tint color influences the output.Copy
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β tintStrength PARAMETER β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Definition: How much the tint color influences the output β
β Range: 0% - 100% β
β Default: 10% β
β Unit: Percentage β
β β
β STRENGTH COMPARISON β
β β
β Input Color: #00FF00 (Pure Green, Hue 120 degrees) β
β tintHue: 250 degrees (Blue) β
β β
β tintStrength=0%: β
β #00FF00 β #00FF00 (No change) β
β β
β tintStrength=10%: β
β #00FF00 β Slight cyan shift β
β β
β tintStrength=30%: β
β #00FF00 β Noticeable cyan β
β β
β tintStrength=50%: β
β #00FF00 β Strong cyan-blue β
β β
β tintStrength=100%: β
β #00FF00 β Fully tinted to blue β
β β
β PRACTICAL GUIDELINES: β
β ββββββββββββββββββββ β
β β
β 0-5% : Almost invisible, very subtle β
β 5-15% : Subtle harmony without destroying source colors (RECOMMENDED) β
β 15-30% : Noticeable theme bias, good for strong branding β
β 30-50% : Strong effect, may wash out distinct colors β
β 50-100% : Extreme, converts everything toward tint hue β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Theme Examples
| Theme | tintStrength | Effect Description |
|---|---|---|
| monolex-night | 10% | Subtle blue harmony |
| dracula | 0% | No tinting (pure palette) |
| solarized-dark | 15% | Noticeable yellow-green bias |
| orange-pro | 10% | Warm orange undertone |
tintChroma Parameter
The saturation level of the tint overlay itself.Copy
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β tintChroma PARAMETER β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Definition: The saturation/colorfulness of the tint overlay β
β Range: 0 - 0.4 (OkLCH chroma units) β
β Default: 0.02 β
β Unit: OkLCH Chroma β
β β
β CHROMA VALUE REFERENCE β
β β
β 0.00 β Gray (no color) β
β 0.02 β Very subtle color (default tint) β RECOMMENDED β
β 0.05 β Noticeable but soft β
β 0.10 β Clear color presence β
β 0.15 β Saturated (MAX_SAFE_CHROMA) β
β 0.20+ β Very saturated, may clip in sRGB β
β 0.40 β Maximum (theoretical limit) β
β β
β NOTE: tintChroma affects the TINT OVERLAY itself, not the blended result. β
β A high tintChroma with low tintStrength = subtle but pure color tint β
β A low tintChroma with high tintStrength = strong but grayish tint β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Parameter Interaction Matrix
Copy
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β TINT PARAMETER INTERACTION MATRIX β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β tintChroma β
β Low (0.02) High (0.10) β
β βββββββββββββββββ¬ββββββββββββββββ β
β tintStr β β β β
β Low (5%) β Very subtle β Subtle but β β
β β gray-ish β colorful β β
β β tint β tint β β
β βββββββββββββββββΌββββββββββββββββ€ β
β High (30%) β Strong but β Strong and β β
β β desaturated β saturated β β
β β tint β tint (VIVID) β β
β βββββββββββββββββ΄ββββββββββββββββ β
β β
β RECOMMENDED COMBINATIONS: β
β ββββββββββββββββββββββββββ β
β β
β Subtle Professional: tintStrength=10%, tintChroma=0.02 β
β Visible Branding: tintStrength=15%, tintChroma=0.05 β
β Strong Theme: tintStrength=25%, tintChroma=0.08 β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Anchor Parameters
The anchor parameters define the themeβs βhome baseβ color, used primarily for the Hue Warp algorithm.darkAnchorHue
Copy
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β darkAnchorHue PARAMETER β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Definition: The "home base" hue for the theme (used in Hue Warp) β
β Range: 0 - 360 degrees β
β Default: 250 degrees (Blue) β
β Relationship: Usually equals tintHue (but can differ) β
β β
β WHY SEPARATE FROM tintHue? β
β βββββββββββββββββββββββββββ β
β β
β tintHue = What color to BLEND toward (additive overlay) β
β darkAnchorHue = What color to WARP around (hue redistribution) β
β β
β Example divergence: β
β β
β tintHue = 30 degrees (Orange overlay) β
β darkAnchorHue = 250 degrees (Blue anchor) β
β β
β Result: Colors are warped around blue (complementary greens compress) β
β but then tinted toward orange (warm undertone) β
β β
β Use case: "Warm sunset on a blue night" theme β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
darkAnchorChroma
Controls how βcolorfulβ dark backgrounds appear.Copy
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β darkAnchorChroma PARAMETER β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Definition: Background saturation level for the theme β
β Range: 0 - 0.4 β
β Default: 0.02 β
β Purpose: Controls how "colorful" dark backgrounds appear β
β β
β VISUAL COMPARISON: β
β ββββββββββββββββββ β
β β
β darkAnchorChroma = 0.00 (Pure Gray): β
β Neutral gray background, no color tint β
β β
β darkAnchorChroma = 0.02 (Subtle Blue, default): β
β Slight blue tint, professional appearance β
β β
β darkAnchorChroma = 0.05 (Noticeable Blue): β
β Clear blue background, strong theme identity β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Theme Configuration Examples
Monolex Night (Default Blue Theme)
Copy
{
"name": "monolex-night",
"tintHue": 250,
"tintStrength": 10,
"tintChroma": 0.02,
"darkAnchorHue": 250,
"darkAnchorChroma": 0.02
}
Solarized Dark (Yellow-Green Accent)
Copy
{
"name": "solarized-dark",
"tintHue": 200,
"tintStrength": 15,
"tintChroma": 0.03,
"darkAnchorHue": 200,
"darkAnchorChroma": 0.03
}
Dracula (No Tinting)
Copy
{
"name": "dracula",
"tintHue": 250,
"tintStrength": 0,
"tintChroma": 0,
"darkAnchorHue": 250,
"darkAnchorChroma": 0.02
}
Parameter Quick Reference
| Parameter | Range | Default | Purpose |
|---|---|---|---|
| tintHue | 0-360 degrees | 250 | Tint color direction |
| tintStrength | 0-100% | 10% | Tint intensity |
| tintChroma | 0-0.4 | 0.02 | Tint saturation |
| darkAnchorHue | 0-360 degrees | 250 | Hue Warp reference |
| darkAnchorChroma | 0-0.4 | 0.02 | Background saturation |
THE CENTER
How These Parameters Help Humans Parse Information
The tint parameters directly serve Core-Flowβs mission of using color to help humans navigate information streams.Copy
Connection to Core-Flow:
βββ tintHue: Establishes immediate visual identity
β β Users recognize "their" terminal instantly
βββ tintStrength: Balances harmony vs. information preservation
β β 10% default preserves source color semantics
βββ tintChroma: Controls visual energy level
β β Low values reduce fatigue, high values energize
βββ Anchor parameters: Define the "gravity well" of the color space
β Creates natural grouping of related colors
Hue Warp Algorithm
Learn about Anchor Pull and the Hue Warp compression algorithm