• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
程媛媛Lexy
博客园    首页    新随笔    联系   管理    订阅  订阅

【CSS3】Advanced4:Advanced Colors

1.rgba(red,green,blue,alpha(不透明度0.0(完全透明)与 1.0(完全不透明))

2.HSLa(hue(色调 0red 120green 240blue),saturation(饱和度),lightness(亮度),alpha)颜色柱面坐标表示法

hue:Any angle, from 0 to 360, taken from a typical color wheel, where “0” (and “360”) is red, “120” is green and “240” is blue.

saturation:from 0% (none, so a level of grey depending on the lightness) to 100% (the whole whack,0% 意味着灰色,而 100% 是全彩。

lightness:From 0% (black) to 100% (white), 50% being “normal”.0% 是黑色,100% 是白色。

posted @ 2014-04-15 22:49  程媛媛Lexy  阅读(180)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3