0

I have a color picker to choose the background color of a rectangle in a Figma-like editor.

One of the colors is white rgba(255,255,255,1), and another one is transparent rgba(0,0,0,0).

On the image below, the right-most color choice is transparent, and the one just before is white.

enter image description here

Question : How to represent the transparent color so that there is no confusion with the white color ?

Thanks !

1 Answer 1

7

If transparent color means no color the representation is a red diagonal or cross:

cross

If the transparent color is an area, the representation is a simulation of a gray grid:

enter image description here

1
  • 1
    ah nice ! I like the gray grid, thanks !
    – Exifers
    Commented Feb 5, 2023 at 14:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.