hereIsChen
V2EX  ›  问与答

背景和文字颜色搭配的问题

  •  
  •   hereIsChen · Oct 21, 2020 · 1154 views
    This topic created in 2235 days ago, the information mentioned may be changed or developed.
    有一个功能是让用户上传背景图片,然后在这上面展示用户信息,问题就是这图片可能是深色系,也可能是浅色系的,那么该如何设置上面文字和按钮颜色比较好?
    2 replies  •  2020-10-21 11:37:21 +08:00
    wuhaoworld
    wuhaoworld
    Oct 21, 2020❤️1
    1
    简单方法就是底部加个灰色的半透明遮盖,在遮盖上面白色(或其他亮色)显示文字
    复杂方法就是像苹果的桌面那样,根据背景自适应
    sun1993
    sun1993
    Oct 21, 2020
    2
    给字体加阴影,或者搞个半透明浮层
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2132 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:34 · PVG 21:34 · LAX 05:34 · JFK 08:34
    ♥ Do have faith in what you're doing.