跳到主要内容
Color Codes

4 种颜色

Cantaloupe

设计预览

颜色详情

01主色
对比度Aa 2.0Aa 10.6
02辅助色
对比度Aa 1.8Aa 11.8
03强调色
对比度Aa 1.5Aa 13.8
04背景色
对比度Aa 1.3Aa 16.0

使用这套配色

CSS 变量

:root {
  --cantaloupe-1: #FFA500;
  --cantaloupe-2: #FFB347;
  --cantaloupe-3: #FFC87C;
  --cantaloupe-4: #FFDAB9;
}

Tailwind 颜色

module.exports = {
  theme: {
    extend: {
      colors: {
        'cantaloupe': {
          100: '#FFA500',
          200: '#FFB347',
          300: '#FFC87C',
          400: '#FFDAB9',
        },
      },
    },
  },
};

无障碍配色组合

本配色中满足 WCAG AA 普通文字标准(4.5:1)的文字与背景组合。

本配色中没有达到 4.5:1 的组合,正文请使用黑色或白色文字。

配色中的命名颜色

每个色块最接近的 CSS 命名颜色。

更多配色

全部配色