Does design affect SEO?

We all know that facebook has good SEO but what if they were to set their background and text color both to black? The whole website would be unreadable and unusable. But would this affect SEO? Does google care about the colors of ur website? or purely text?
Yes, design affects SEO indirectly by influencing user experience and engagement metrics. Google prioritizes user experience and considers factors like bounce rates and time spent on a website. A poorly designed website, such as one with unreadable text or difficult navigation, can lead to a high bounce rate, signaling to Google that the site is not user-friendly. This can ultimately affect the website's ranking in search results. While Google doesn't specifically assess color schemes, usability issues resulting from poor design can significantly impact SEO performance.