Inclusive Color Space
DesignSimple equations and a color picker to inclusively select
Verify ownership to edit the listing, publish updates, access analytics, and use launch tools.
What it does
Inclusive Color Space is a browser-based color picker and set of simple equations for selecting simplified, plausible human skin tones in a custom color space. It’s designed for people building inclusive color tools in contexts like digital art workflows, character creators, and game development—where picking from the full RGB space can be overwhelming and where small preset palettes often fail to represent a broad range of tones.
The core workflow is straightforward: choose a point in the custom picker, then convert that point into an RGB color using the provided conversion function. The project provides a JavaScript-based color picker implementation, along with sample code for procedural generation in Python (with JavaScript equivalents available in the source). This makes it possible to both pick individual colors interactively and generate many varied skin-tone colors programmatically.
Under the hood, the work defines a “good enough” region inside RGB that corresponds to simplified skin tones, aiming for a broad inclusive range while keeping the math simple enough to reuse. The provided code shows how to sample uniformly from a sphere (including deterministic sampling and rejection sampling approaches) and then map the sampled coordinates (t, u, v) into RGB with a `to_rgb(t, u, v)` function. This is intended to support practical uses like generating randomized but plausible tone selections, building better defaults for character customization, or creating constrained color pickers that start from a more inclusive range.
Because the target is simplified representations, it explicitly does not claim to model real skin appearance in full (which varies by body region, lighting, biology, and many other factors). Instead, it offers a reusable starting point: equations, conversion code, and an interactive picker that can be embedded or adapted into tools that need a constrained, inclusive skin-tone selection space without forcing users to search across all 16,777,216 RGB colors.


Community
Discussion
No comments yet. Start the conversation.