Color system

Controls

B&W

gray

Colors

magenta
red
orange
lime
green
teal
cyan
blue
purple

Code

yarn add use-color-systemimport {useColorSystem} from 'use-color-system'
// Setup
const colors = useColorSystem({
  hueOffset: 0, 
    // random number: 0-40
  colorSchemePreference: 'light', 
    // light | dark | inverted
  luminanceRange: 70
    // 100 for maximum contrast
});
theme.colors = colors;

// Basic usage
colors.blue[0]

// Usage with styled-system
<Box bg="gray.9" color="blue.0">
  Hello
  <Text color="red.5">World</Text>
</Box>

Demo

WARNING
Expected outage
in US-EAST-1
RIGHT NOW
90
active users on site
REVENUE TODAY
USD 98
.50
5%
vs average
SOCIAL
204
likes today
16
followers
HEALTH STATUS
Vendor API
Database
Server 1
Server 2