Stop Creating Custom Colors in SwiftUI @seanallen
Stop Creating Custom Colors in SwiftUI  @seanallen
Uploaded May 2025 | Updated September 2026, 1 hour ago
Go to squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.

In today's video I tell you why you should try to use SwiftUI's built in colors instead of creating your own custom color with RGB or Hex codes. SwiftUI's built in colors have some nice functionality that you don't get with custom colors. I also show you a bunch of SwiftUI modifiers you can use on colors to make them extremely versatile.

My Swift & SwiftUI Courses:
seanallen.teachable.com/?video=oJDu0dKa0PU

My Source Code:
seanallen.teachable.com/p/source-code-youtube-videos?video=oJDu0dKa0PU

Swift News Newsletter:
swiftnews.kit.com/newsletter

X (Twitter):
Sean Allen - twitter.com/seanallen_dev

Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):

Antoine Van Der Lee - Going Indie Course:
courses.avanderlee.com/p/from-side-project-to-going-indie?affcode=2082304_o9res6rn

Mark Moeyken’s SwiftUI Books:
bigmountainstudio.com/a/fzc51

Paul Hudson's Hacking With Swift:
gumroad.com/a/762098803

RocketSim - Enhance Your Xcode Simulator:
gumroad.com/a/51797971/ftvbh

Timestamps:
0:00 - SwiftUI Color
0:31 - You should use the built in colors
2:11 - .secondary, .tertiary colors
3:21 - Easy, subtle gradients
4:32 - Animating values
5:10 - Mixing colors (iOS 18+)
6:37 - Color brightness
7:42 - Mixing gray

#swift #iosdeveloper #iosdevelopment
Stop Creating Custom Colors in SwiftUIXcode 15 - Whats NewIntro to Unit Testing in SwiftNavigationStack - SwiftUI Programmatic Navigation - iOS 16ARKit: What can it do? (visionOS)Apples Use of SwiftUI, New Concurrency Vision, 2024 App Store Awards, Paywalls, and MoreYoure using SwiftUI wrongvisionOS Godot Support, Career Advice, TextRenderer, App Store Upload, and MoreCleaner, Safer Code with Swift KeyPathsSwift Delegate Protocol Pattern Tutorial 2023 | iOS Communication PatternsSwiftUI Tooltips with TipKit (Popover & Inline Tips)Remember UIKit?, Coding Agent Addiction, Server Side Swift, Menu & More
Sean Allen |

Stop Creating Custom Colors in SwiftUI

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER