Are web-safe colors still relevant?

后端 未结 13 1139
误落风尘
误落风尘 2021-01-30 12:28

Since the vast majority of monitors are 16-bit color or more, including mobile devices, does it make sense to even consider web-safe colors when choosing color schemes? Or is i

相关标签:
13条回答
  • 2021-01-30 13:26

    Since, browser safe colors are no more relevant asking a new question and posting it's answer does not look genius. So, I'm just trying to explain the tip to determine browser safe colors just by looking at it's hex code

    For a hex color #xxyyzz, the color is browser safe if

    • For pairs:

      • position 12 i.e xx values are same
      • position 34 i.e yy values are same
      • position 56 i.e zz values are same
    • Allowed values are

      • 0
      • 3
      • 6
      • 9
      • C
      • F
    0 讨论(0)
提交回复
热议问题