It is too hard to build coherent and accessible themes with the right colors. This should help.

Overview

Image of Color Studio

Color Studio

It is hard to choose colors. Most color pickers give you 16 million colors and ask you to pick one. So many options, in fact, that your creativity may get blocked. There is no intuitive way to know which colors will fit your needs. This gets even harder when you deal with multiple colors. Even harder when you want these colors to follow a design specification and form a coherent theme. This project aims to help solve these problems.

Get it on Google Play

Main Single Selector
First Sec

History

First and foremost, but not exclusively, this app follows Material Design, with a special emphasis in dark mode. While dark mode is trending nowadays, the idea came when writing Change Detection. Back then it was hard to make a coherent dark theme. In May 2019 , Material Design Components for Android started receiving dark mode support. Material Dark Theme, however, has a twist: it applies a white overlay as a surface gets higher (more elevated). Back then, as far as I remember, this was mandatory (now it is optional) and instantly broke half my app. I started using more and more elevation = 0, but then it made the light theme worse. Choosing colors, which was already hard, became trial and error. I relied a lot on Color Hexa, but as my projects got more complex, it got insufficient and became a pain. Suddenly, I was already developing my own tool.

Overview

Color Scheme

This app allows you to play with 3 colors: Primary, Background and Surface. Background and Surface allows you to toggle "auto" mode. In auto mode, Background follows the Material Design recommendation: 8% of Primary color + #121212. Regarding Surface color, there is no official recommendation. Initially, the app made it the same as the Background color, but this didn't feel good. Inspired by Moleskine Timepage, Surface now gets the Background and adds 5% of lightness in HSLuv color space. If Background has 10% of lightness, Surface has 15%.

Everything was written with extensibility in mind. The colors are not hard-coded, and it is straight-forward to add more or modify them in the future. In a previous app version, Secondary color was also present, but was removed to make the app simpler.

Color Scheme

Contrast

Web Content Accessibility Guidelines (WCAG) recommends a contrast of:

  • 3.0:1 minimum for texts larger than 18pt or icons (AA+).
  • 4.5:1 minimum for texts smaller than 18pt (AA).
  • 7.0:1 minimum when possible, if possible (AAA).

If you want to know more about contrast, read this , this or this.

Color Blindness

Don’t rely on color alone to convey meaning. This includes conveying information, indicating an action, prompting the user for a response, or distinguishing one visual element from another.

Source: Carbon Design System

Because colorblindness takes different forms (including red-green, blue-yellow, and monochromatic), multiple visual cues help communicate important states. Elements such as strokes, indicators, patterns, texture, or text can describe actions and content.

Source: Material Design System

This project allows you to select between 8 different Color Blindness scenarios using the formulas from a Swift library named Colorblinds. It automatically updates the contrast ratio between colors, so that you can see simulate a color blind scenario.

Reporting Issues

It is not easy to develop alone. I am a developer, not a designer. If you have any design suggestions, feature requests or would like to integrate your own color specs, issues and pull requests are welcome. You can report here.

License

Copyright 2021 Bernardo Ferrari

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Comments
  • The app doesn't run with stable  v1.12.13+hotfix.5

    The app doesn't run with stable v1.12.13+hotfix.5

    Running with flutter v1.12.13+hotfix.5 the app just crashes with no error message. I see you included a web folder which means it's built with the beta version at least. which version of flutter should I use to run the app?

    opened by humazed 9
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    opened by imgbot[bot] 0
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 16% πŸŽ‰

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /macos/Runner/Assets.xcassets/AppIcon.appiconset/128x128.png | 3.13kb | 2.08kb | 33.61% | | /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-64x64.png | 0.88kb | 0.62kb | 29.21% | | /macos/Runner/Assets.xcassets/AppIcon.appiconset/256x256.png | 6.42kb | 5.18kb | 19.34% | | /macos/Runner/Assets.xcassets/AppIcon.appiconset/256x256-1.png | 6.42kb | 5.18kb | 19.34% | | /macos/Runner/Assets.xcassets/AppIcon.appiconset/Icon-1024.png | 22.44kb | 19.23kb | 14.28% | | /macos/Runner/Assets.xcassets/AppIcon.appiconset/512x512-1.png | 13.73kb | 11.83kb | 13.85% | | /macos/Runner/Assets.xcassets/AppIcon.appiconset/512x512.png | 13.73kb | 11.83kb | 13.85% | | /macos/Runner/Assets.xcassets/AppIcon.appiconset/32x32-1.png | 0.80kb | 0.72kb | 9.82% | | /macos/Runner/Assets.xcassets/AppIcon.appiconset/32x32.png | 0.80kb | 0.72kb | 9.82% | | | | | | | Total : | 68.35kb | 57.39kb | 16.03% |


    Black Lives Matter | πŸ’° donate | πŸŽ“ learn | ✍🏾 sign

    πŸ“ docs | :octocat: repo | πŸ™‹πŸΎ issues | πŸ… swag | πŸͺ marketplace

    opened by imgbot[bot] 0
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 14% πŸŽ‰

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-152.png | 2.81kb | 1.39kb | 50.63% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-180.png | 3.59kb | 1.82kb | 49.41% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-512.png | 9.84kb | 4.99kb | 49.34% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-120.png | 2.17kb | 1.11kb | 48.72% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-167.png | 3.33kb | 1.79kb | 46.17% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-80.png | 1.35kb | 0.77kb | 43.48% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-256.png | 4.35kb | 2.48kb | 43.11% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-114.png | 2.14kb | 1.26kb | 40.88% | | /assets/try_here.png | 4.04kb | 2.48kb | 38.73% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-76.png | 1.38kb | 0.87kb | 36.62% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-128.png | 2.08kb | 1.34kb | 35.68% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-58.png | 1.13kb | 0.75kb | 33.36% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-57.png | 1.06kb | 0.73kb | 30.93% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-41.png | 0.68kb | 0.48kb | 28.57% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-40.png | 0.68kb | 0.48kb | 28.57% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-1024 1.jpg | 80.55kb | 59.16kb | 26.56% | | /assets/web_0.png | 285.23kb | 234.65kb | 17.73% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-29.png | 0.51kb | 0.43kb | 16.60% | | /assets/web_1.png | 282.48kb | 241.30kb | 14.58% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-32.png | 0.53kb | 0.46kb | 13.81% | | /assets/git_preview.png | 488.29kb | 439.40kb | 10.01% | | /assets/header.png | 369.75kb | 333.18kb | 9.89% | | | | | | | Total : | 1,547.96kb | 1,331.30kb | 14.00% |


    Black Lives Matter | πŸ’° donate | πŸŽ“ learn | ✍🏾 sign

    πŸ“ docs | :octocat: repo | πŸ™‹πŸΎ issues | πŸ… swag | πŸͺ marketplace

    opened by imgbot[bot] 0
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 53% πŸŽ‰

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /assets/front.png | 101.45kb | 21.30kb | 79.00% | | /assets/both.png | 89.80kb | 37.02kb | 58.78% | | /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png | 4.02kb | 2.30kb | 42.66% | | /assets/back.png | 21.46kb | 12.65kb | 41.05% | | /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png | 2.84kb | 1.76kb | 38.13% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 3.02kb | 2.08kb | 30.96% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 2.37kb | 1.69kb | 28.58% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 2.37kb | 1.69kb | 28.58% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 2.09kb | 1.51kb | 27.62% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 2.93kb | 2.13kb | 27.33% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 2.23kb | 1.66kb | 25.45% | | /android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png | 1.60kb | 1.20kb | 25.33% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 3.51kb | 2.67kb | 23.90% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 1.92kb | 1.47kb | 23.00% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 3.26kb | 2.54kb | 22.13% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 1.64kb | 1.32kb | 19.45% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 1.78kb | 1.44kb | 18.97% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 1.34kb | 1.11kb | 17.07% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 1.66kb | 1.38kb | 16.75% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 16.75kb | 14.19kb | 15.28% | | /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png | 3.08kb | 2.65kb | 14.05% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 1.08kb | 0.96kb | 10.59% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 1.29kb | 1.16kb | 10.42% | | /ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected] | 1.32kb | 1.19kb | 9.49% | | /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png | 2.10kb | 1.92kb | 8.83% | | /android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png | 1.19kb | 1.10kb | 8.02% | | /android/app/src/main/ic_launcher-playstore.png | 16.61kb | 15.43kb | 7.12% | | /android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png | 1.36kb | 1.34kb | 1.51% | | | | | | | Total : | 296.05kb | 138.86kb | 53.10% |


    πŸ“docs | :octocat: repo | πŸ™‹issues | πŸ…swag | πŸͺmarketplace

    opened by imgbot[bot] 0
  • Permalink?

    Permalink?

    It has various export as code options, including "Hex List".

    What would be nice is if I could simply launch Color Studio with those as a parameter. Something like

    https://bernaferrari.github.io/color-studio/#primary=abcdef&secondary=abcdef…

    opened by chucker 0
  • RGBA is everywhere...

    RGBA is everywhere...

    Hello thank you very much for sharing your great work!

    It would be great if you could think about supporting RGBA because it is part of CSS and therefore, we have it everywhere.

    Thanks a lot, kind regards, Thomas

    opened by schittli 1
Releases(1.0.4)
Owner
Bernardo Ferrari
Android native and Flutter developer. Computer Scientist.
Bernardo Ferrari
Android-Toolbox is a desktop app which enables the user to access android device features which are not accessible directly from the mobile device

Android-Toolbox is a desktop app which enables the user to access android device features which are not accessible directly from the mobile device. One of Android-Toolbox's special feature is to transfer files at the highest speed using ADB push and pull bypassing a lot of Android API overheads.

Sashank Visweshwaran 30 Dec 26, 2022
Implements GTK Widgets, themes and titlebar buttons in Flutter. Based on the GNOME HIG

GTK ❀️ Flutter Unofficial implementation of GTK Widgets and libadwaita in Flutter. Based on the GNOME Human Interface Guidelines. NOTE: For getting co

Prateek SU 164 Dec 26, 2022
Flutter widgets and themes implementing the current macOS design language.

macos_ui Flutter widgets and themes implementing the current macOS design language. NOTE: This package depends on the excellent native_context_menu pl

Reuben Turner 1.1k Jan 1, 2023
A package which provides most of the window decorations from linux themes.

Window Decorations A package which provides most of the window decorations from linux themes. Features Easier to use and implement Native looking wind

Prateek SU 20 Dec 21, 2022
Build beautiful desktop apps with flutter and rust. 🌠 (wip)

flutter-rs Build flutter desktop app in dart & rust. Get Started Install requirements Rust flutter sdk Develop install the cargo flutter command cargo

null 2k Dec 26, 2022
Build beautiful desktop apps with flutter and rust. 🌠

flutter-rs Build flutter desktop app in dart & rust. Get Started Install requirements Rust flutter sdk Develop install the cargo flutter command cargo

null 2k Dec 26, 2022
Create Msix installer for flutter windows-build files.

Msix A command-line tool that create Msix installer for your flutter windows-build files. ?? Install In your pubspec.yaml, add msix as a new dependenc

Yehuda Kremer 191 Dec 30, 2022
Build installers for your Flutter applications with Squirrel

squirrel A new Flutter package project. Getting Started This project is a starting point for a Dart package, a library module containing code that can

Ani Betts 44 Dec 28, 2022
Build Win32 apps with Dart!

A package that wraps some of the most common Win32 API calls using FFI to make them accessible to Dart code without requiring a C compiler or the Wind

Tim Sneath 609 Jan 2, 2023
A fresh and modern Google Contacts manager that integrates with GitHub and Twitter.

Flokk A fresh and modern Google Contacts manager that integrates with GitHub and Twitter. Demo Builds Web: https://flokk.app Linux: https://snapcraft.

gskinner team 1.3k Jan 3, 2023
My Notes is an app to create simple notes and add 3 levels of tags to them. The uniqueness of the app lies in its design and dark theme

?? My Notes | Simple & Beautiful Note Taking App ?? About The App ?? My Notes is an app to create simple notes and add 3 levels of tags to them. The u

null 4 Apr 27, 2022
A web dashboard that allows you to monitor your Chia farm and sends notifications when blocks are found and new plots are completed through a discord bot. It can link multiple farmers/harvesters to your account.

farmr A web dashboard that allows you to monitor your Chia farm and sends notifications when blocks are found and new plots are completed through a di

Gil Nobrega 261 Nov 10, 2022
Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.

go-flutter - A package that brings Flutter to the desktop Purpose Flutter allows you to build beautiful native apps on iOS and Android from a single c

null 5.5k Jan 6, 2023
Serverpod is a next-generation app and web server, explicitly built for the Flutter and Dart ecosystem.

Serverpod Serverpod is a next-generation app and web server, explicitly built for the Flutter and Dart ecosystem. It allows you to write your server-s

Serverpod 1k Jan 8, 2023
Flokk - A fresh and modern Google Contacts manager that integrates with GitHub and Twitter.

Flokk A fresh and modern Google Contacts manager that integrates with GitHub and Twitter. Demo Builds Web: https://flokk.app Linux: https://snapcraft.

gskinner team 1.1k Jan 3, 2022
Suwariyomi means to sit and read. Opposite of Tachiyomi which is to stand and read.

Suwariyomi Suwariyomi means to sit and read. Opposite of Tachiyomi which is to stand and read. Getting Started Install Android Studio (or any IDE you

Woon Eusean 5 Mar 24, 2022
A project that makes use of a Typescript back end and a Flutter web front end to consume the Jira API in order to visualize and interact with issues.

A project that makes use of a Typescript back end and a Flutter web front end to consume the Jira API in order to visualize and interact with issues.

Lucas Coelho 1 Mar 20, 2022
A material theme editor and generator for Flutter to configure and preview the overall visual theme of your material app

A material theme editor and generator for Flutter to configure and preview the overall visual theme of your material app

Joshua 301 Jan 3, 2023
A Flutter package that makes it easy to customize and work with your Flutter desktop app window.

bitsdojo_window A Flutter package that makes it easy to customize and work with your Flutter desktop app window on Windows, macOS and Linux. Watch the

Bits Dojo 607 Jan 4, 2023