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

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 48% ๐ŸŽ‰

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /assets/try_macOS.png | 29.93kb | 15.09kb | 49.59% | | /assets/try_web.png | 9.05kb | 5.21kb | 42.38% | | | | | | | Total : | 38.99kb | 20.30kb | 47.92% |


    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 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
A flutter package to help you beautify your app popups.

flutter_beautiful_popup ไธญๆ–‡ A flutter package to help you beautify your app popup, can be used in all platform.Live Demo. Preview: Getting Started Add

ๆœฑๅ˜‰ไผŸ 568 Dec 30, 2022
A textField widget to help display different style pin

pin_input_text_field ไธญๆ–‡็‰ˆ็‚นๆˆ‘ PinInputTextField is a TextField widget to help display different style pin. It supports all the platforms flutter supports

Tino 324 Jan 4, 2023
modern e-commerce store built in flutter with help of GetX.

Shoe Commerce Modern looking shoe store app built in flutter and help of GetX :) Design source: https://www.figma.com/community/file/11473970061435204

ฦณฦ ฦฒฦงฦ ฦ‘ 6 Nov 24, 2022
A simple Flutter component capable of using JSON Schema to declaratively build and customize web forms.

A simple Flutter component capable of using JSON Schema to declaratively build and customize web forms.

null 3 Oct 2, 2022
Build Beautiful UIs with Flutter Widgets

I learnt this following thing from this project How to create Stateless Widgets What is the difference between hot reload and hot refresh and running

Chitraarasu.k 2 Dec 31, 2021
This is a simple movies app build it with flutter

Movies App ?? This is a simple app build it with flutter. Features: ?? Get movies from themoviedb.org Search movies See details movies and casting Too

Tony Gonzalez 2 Feb 1, 2021
Build flexible layouts with constraints, Similar to Android ConstraintLayout

Flutter ConstraintLayout Build flexible layouts with constraints, Similar to Android ConstraintLayout. No matter how complex the layout is and how dee

fangbing chen 247 Jan 5, 2023
A flutter package to display a country, states, and cities. In addition it gives the possibility to select a list of countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.

A flutter package to display a country, states, and cities. In addition it gives the possibility to select a list of countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.

Altaf Razzaque 25 Dec 20, 2022
Foody - Flutter project to display foods to clients and display charts and has a lot of features , two flutter apps : Android and Web

Foody Flutter project to display foods to the clients and use charts and use a lot of features to complete the process (HUGE APP) There two apps: Andr

ABDULKARIMALBAIK 1 Feb 7, 2022
Instagram UI designed with Flutter; it is compatible and responsive with any type of Android and iOS devices.

instagram Instagram clone UI designed with Flutter; it is compatible and responsive with any type of Android and iOS devices . Getting Started This pr

Mustafa Nabavi 4 Oct 28, 2021
I am trying to teach Responsive Ui design. This video for Web and Mobile. This design is suitable for Desktop, Tab, and Mobile platforms.

before clone the GitHub repository please give a star on the repository. I am trying to teach Responsive Ui design. This video for Web and Mobile. Thi

Blackshadow Software Ltd 22 Sep 1, 2022
A set of interesting and fun UI components, animations and routes for Flutter.

ใ™ใ”ใ„ ใƒป Sugoi A set of interesting and fun UI components, animations and routes for Flutter. By Jay (Jeroen) Meijer. This project was bootstrapped by Ve

Jeroen Meijer (Jay) 5 Jan 22, 2022
Tour guide App UI in Flutter Consist of Three Pages. First Screen is Splash Screen , Second is welcome screen routing to third Screen and Third screen consist of details , navigation, places, and responsive UI.

Tour Guide // Tourism App Ui in Flutter. Tour Guid App Ui in Flutter. Visit Website Features State Management Navigation Bar Responsive Design Hybrid

Habib ullah 2 Nov 14, 2022
A highly customisable Flutter widget for entering pin code. Suitable for use cases such as login and OTP.

pin_code_text_field It's a beautiful and highly customizable Flutter widget for entering pin code. Suitable for use cases such as login and OTP. Usage

Liew Jun Tung 309 Dec 28, 2022
Nice and clean Online Shop app UI by using #Flutter.

On our E-commerce app UI has two pages one for the product page which has a horizontal list of categories then a list of our products. Then on the details page, it shows the price and short description of the product with the Buy Now button. The best part of our E-commerce app is, each product has its own color which looks great.

Abu Anwar 1.7k Jan 3, 2023
A Splash screen with curved custom bottom sheet and dots indicator within it.

Pub.dev Curved Splash Screen A Splash screen with curved custom bottom sheet and dots indicator within it. You can add your custom splash screens acco

Hosain Mohamed 16 Dec 1, 2022
This Dart package offers developers a streamlined library of Flutter widgets, useful for expanding widgets and text views, when users interact with them.

This Dart package offers developers a streamlined library of Flutter widgets, useful for expanding widgets and text views, when users interact with them.

Jesรบs Rodrรญguez 44 Dec 6, 2022
Flutter Widgets that you can touch and feel

Flutter widgets you haven't used yet. Problems that proximity solves Currently, Flutter has a lot of useful pre-built widgets, no, too many widgets. T

Masahiro Aoki 32 Nov 8, 2022
The most complete flutter plugin packages for open various settings screen in Android and Ios

open_settings The most complete flutter plugin packages for open various settings screen in Android and Ios For Android: this plugin currently support

Ali Hoseinpoor 15 Dec 11, 2022