How to convert 3-digit HTML hex colors to 6-digit flex hex colors

前端 未结 5 411
無奈伤痛
無奈伤痛 2020-12-31 00:43

I want to convert a three-digit hex color which is coming from HTML CSS to a six-digit hex color for Flex. Can anyone give me code to convert 3-digit hex colors to their 6-d

5条回答
  •  无人及你
    2020-12-31 01:05

    Double every digit: for example #A21 is equal to #AA2211.

    However this question is a duplicate of: convert to 3-digit hex color code

提交回复
热议问题