dan.glow Profile picture
Oct 10 17 tweets 7 min read
Design is hard (II).

A large part of this is choosing colors — *everything* you design needs a color.

I’ve realized that while true mastery takes years, there are simple, scientific rules that can make your colors much nicer.

Here are 10 practical tips for choosing colors.
1. Use slightly blue-shifted gray instead of “perfect” gray.

This applies to both backgrounds and texts.

An easy trick: grab a gray (e.g. #d1d1d1) and make it #d1d3d5.

This makes the color less “yellow,” which feels more fresh and clean. (less “aging”) ImageImage
2. Avoid black text on non-white background. That looks dirty.

Instead:

- Tint the text with the bg color if bg is light, or
- Use white text on darker background

How to tint correctly? Open the bg color in color picker, and drag to a darker color. Image
(This is how you can use the color picker to quickly match hues.)
3. When doing themes or using multiple colors that should look similar in brightness, use HSLuv (hue, saturation, luminosity).

Colors have different perceived brightness. So if you are using standard HSL (lightness), results can vary significantly and some are not legible. Image
Bonus: why do colors differ so much?

In short, we have 3 types of colors sensors (cones) in our eyes, for red, green and blue.

We pick up green (middle of the spectrum) the most, followed by red and then blue.

That’s why yellow (R+G) looks the brightest (only behind white). Image
4. Don’t use different hues of the same color. Colors with similar but different hues look off when combined.

e.g. if using 3 shades of blue, all 3 should have the same hue.

The new Gmail is a great counter example of this.

The color picker trick above comes in handy again. Image
5. Elements that are “above” should be lighter than those that are below (on the z-axis). Especially in dark mode.

This is because they are closer to the metaphorical light source and so should be brighter.

Dark mode isn’t simply flipping the colors in light mode. Image
6. Shadows should be dark, even in dark mode. White / light shadows look weird because they don’t exist (in the real world).

If you are using “color shadow,” that’s really a glow. It must “make sense” — the object casting the shadow should be in that color (with more intensity). Image
Speaking of Glow, it is also the name of the most nicely designed crypto wallet (designed by me and other awesome designers ❤️).

Check it out: @glowwallet and you will find many of the rules applied over there!
7. Use opacity more.

- Shadows should be pure black + opacity, not a light color.
- Secondary text color can be primary + opacity.
- Border and background (esp. highlight) color can be an intense color + opacity.

Why? When you have a non-white bg, opacity works much better. ImageImage
8. Avoid simple linear gradients, esp. dual-color ones as background.

These feel unnatural and boring.

Instead:

- Use solid colors
- Use more interesting gradients
- Use gradients as masks of texts Image
9. Use saturated colors sparingly.

- Don’t use them for large bg or blocks of text.
- Use enough whitespace and neutral content color.

Saturated colors are like spices in cooking. You want a little bit of them, but too much destroys the dish.

They hurt your eyes, too. Image
10. High contrast makes a design clean, as well as usable.

- Use dark enough text colors + whitespace
- Color pairs on the opposite ends of the color wheel contrast better
- Use as few colors as possible — each additional color adds to the noise and decreases contrast Image
I hope these tips are useful!

They all stem from one idea: comfortable colors resemble something nice and real in the physical world. Be it soft shadows, tints, or natural gradients.

We can all subconsciously tell if a color is “impossible.” Such choice often look unpleasant.
If you are reading this thread, you care about making what you make look pleasant.

The ultimate tip is to observe — sunrise, dusk, the lighting and shades of buildings and objects.

Observe and appreciate, and you will internalize them, which will reflect on your designs.
Finally, be sure to check out the first part of this series, on text layout, if you haven’t.

As always, let me know what you think, if you have questions, or what you want me to cover next!

Happy designing ❤️

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with dan.glow

dan.glow Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @danqing_liu

Oct 3
Design is hard.

But I’ve come to realize that laying out texts properly is 80% of what makes something look clean, and is the easiest thing you can do to make your design much nicer and more usable.

Here are 10 practical tips for improving your text layout.
1. Use comfortable line heights.

What’s important is to not use the same line height for your titles and body texts.

- For title, a good range is 1.1 - 1.3x
- For body, it’s 1.3 - 1.5x

As a rule of thumb, larger texts should have smaller line height. ImageImage
2. When putting text in a box, there should usually be more horizontal padding than vertical padding.

This is because most letters don’t fill the full height, especially with line heights greater than 1. You need more horizontal padding than vertical to make them feel the same. Image
Read 12 tweets
May 12
The unraveling of UST and Luna is probably the most impressive event in crypto this year.

I knew nothing about them so I did some research. So here's a simple thread on why UST collapsed.

⬇️
1. Let's first see what's a (USD) stable coin:

It's one that you can buy or sell for ~$1 apiece, on an exchange like Coinbase.

The $1 is a market price — you are trading with other people. It's just that everyone is happy to accept $1 as the price if things go as intended.
2. How is that possible? The most obvious way is to back the coin with actual $ (basically what @circlepay does with USDC):

You give Circle $1 cash. It creates 1 USDC for you. You give Circle 1 USDC. It gives you the $1 that it has taken.

If there's 10B USDC, they have $10B.
Read 14 tweets
Feb 9
Since launching @glowwallet, many people have asked why we are doing a wallet, and how Glow is different.

Here are my thoughts 🧵 Image
We are building a wallet because it’s the most important piece in web3 — you can’t do anything without it.

But existing wallets fall short on 3 things we deeply care about. As a product team. And as consumers ourselves.

And they are how Glow is different.
Here are the 3 things.

1. Complexity should be hidden, not be left to consumers.
2. Security should be our responsibility, not that of users.
3. Being approved by Marie Kondo.

Let’s look at them one by one.
Read 11 tweets
Oct 21, 2021
Two Chinese streamers sold 18 billion RMB (about $3B) worth of goods in a half-day livestream yesterday.

🤯🤯🤯

That's almost as much as Twitter's annual revenue ($3.72B).
The screenshots.

Top: total amount in RMB.
First row: # SKU, number of items sold (w means 10k), number of items sold for the most popular SKU.
Second row: avg price per order, number of followers gained, RMB sold for the most popular SKU (in 100M).
Here's a breakdown of what's being sold (for one of the streamers).

A reported 200M people showed up during the streaming, and the commission is said to be as high as 20%.
Read 17 tweets
May 22, 2021
My favorite thinker by far is @eugenewei. If there's a constant stream of Eugene's thoughts I'd listen to it all day.

Before that happens, a 90 min video is a good alternative. Some takeaways below:
1. Path-dependency of Social

The earliest adopters of a platform shape what it is to a large extent. For example, Pinterest doesn't _have_ to be mostly for women, but its earliest users were women, and that shaped the product more than its features.
A good "parallel universe" example of that is Twitter vs. Weibo in China. They are essentially the same thing, but Weibo is way more mainstream and has way more entertainment content than Twitter.
Read 13 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(