首页 > 开发 > CSS > 正文

使用clrs.cc来进行炫酷的CSS调色

2024-07-11 08:29:56
字体:
来源:转载
供稿:网友

clrs.cc是最近在GitHub上发现的一个有趣的项目。它是一套精心设计的web配色方案。
2015721165504398.jpg (225×169)

web的默认的颜色看起来……比较……呃……怎么说呢……经典……

    Navy #000080

    Blue #0000ff

    Aqua #00ffff

    Teal #008080

    Olive #008000

    Green #008000

    Lime #00ff00

    Yellow #ffff00

    Orange #ffa500

    Red #ff0000

    Maroon #800000

    Fuchsia #ff00ff

    Purple #800080

    Silver #c0c0c0

    Gray #808080

    Black #000000

所以clrs.cc重搞了一套。

CSS Code复制内容到剪贴板
  1. colors = {        # Cool Colors   
  2.        aqua: "#7FDBFF",    
  3.     blue: "#0074D9",        lime: "#01FF70",   
  4.     navy: "#001F3F",        teal: "#39CCCC",   
  5.     olive: "#3D9970",        green: "#2ECC40",   
  6.        # Warm Colors   
  7.        red: "#FF4136",   
  8.     maroon: "#85144B",        orange: "#FF851B",   
  9.     purple: "#B10DC9",        yellow: "#FFDC00",   
  10.     fuchsia: "#F012BE",      
  11.     # Gray Scale Colors      
  12.     gray: "#aaa",        white: "#fff",   
  13.     black: "#111",        silver: "#ddd"  
  14. };  

提供了css文件,可以通过github获取:

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表