Skip to content

Instantly share code, notes, and snippets.

@Phyroks
Created November 13, 2024 12:00
Show Gist options
  • Save Phyroks/a75eb1cd103a45ee4cb0941f6bf29adf to your computer and use it in GitHub Desktop.
Save Phyroks/a75eb1cd103a45ee4cb0941f6bf29adf to your computer and use it in GitHub Desktop.
I have a class here with all the DB brand colours in case anyone needs them in their Flutter app :)
import 'dart:ui';
class BrandColors {
static const Map<int, Color> yellow = {
100: Color(0xFFFFFFDC),
200: Color(0xFFFFFFAF),
300: Color(0xFFFFF876),
400: Color(0xFFFFF000),
500: Color(0xFFFFD800),
600: Color(0xFFFFBB00),
700: Color(0xFFFF9B00),
800: Color(0xFFFF7A00),
};
static const Map<int, Color> orange = {
100: Color(0xFFFFF4D8),
200: Color(0xFFFCE3B4),
300: Color(0xFFFACA7F),
400: Color(0xFFF8AB37),
500: Color(0xFFF39200),
600: Color(0xFFD77B00),
700: Color(0xFFC05E00),
800: Color(0xFFA24800),
};
static const Map<int, Color> red = {
100: Color(0xFFFEE6E6),
200: Color(0xFFFCC8C3),
300: Color(0xFFFA9090),
400: Color(0xFFF75056),
500: Color(0xFFEC0016),
600: Color(0xFFC50014),
700: Color(0xFF9B000E),
800: Color(0xFF740009),
};
static const Map<int, Color> burgundy = {
100: Color(0xFFF4E8ED),
200: Color(0xFFEDCBD6),
300: Color(0xFFDA9AA8),
400: Color(0xFFC0687B),
500: Color(0xFFA9455D),
600: Color(0xFF8C2E46),
700: Color(0xFF641E32),
800: Color(0xFF4D0820),
};
static const Map<int, Color> pink = {
100: Color(0xFFFDEEF8),
200: Color(0xFFF9D2E5),
300: Color(0xFFF4AECE),
400: Color(0xFFEE7BAE),
500: Color(0xFFE93E8F),
600: Color(0xFFDB0078),
700: Color(0xFFB80065),
800: Color(0xFF970052),
};
static const Map<int, Color> violet = {
100: Color(0xFFF4EEFA),
200: Color(0xFFE0CDE4),
300: Color(0xFFC2A1C7),
400: Color(0xFF9A6CA6),
500: Color(0xFF8E4E95),
600: Color(0xFF732E7B),
700: Color(0xFF5A1A67),
800: Color(0xFF420A54),
};
static const Map<int, Color> blue = {
100: Color(0xFFE0EFFB),
200: Color(0xFFB4D5F6),
300: Color(0xFF73AEF4),
400: Color(0xFF347DE0),
500: Color(0xFF1455C0),
600: Color(0xFF0C3992),
700: Color(0xFF0A1E6E),
800: Color(0xFF061350),
};
static const Map<int, Color> cyan = {
100: Color(0xFFE5FAFF),
200: Color(0xFFBBE6F8),
300: Color(0xFF84CFEF),
400: Color(0xFF55B9E6),
500: Color(0xFF309FD1),
600: Color(0xFF0087B9),
700: Color(0xFF006A96),
800: Color(0xFF004B6D),
};
static const Map<int, Color> turquoise = {
100: Color(0xFFE3F5F4),
200: Color(0xFFBEE2E5),
300: Color(0xFF83CACA),
400: Color(0xFF3CB5AE),
500: Color(0xFF00A099),
600: Color(0xFF008984),
700: Color(0xFF006E6B),
800: Color(0xFF005752),
};
static const Map<int, Color> green = {
100: Color(0xFFE2F3E5),
200: Color(0xFFBDDBB9),
300: Color(0xFF8CBC80),
400: Color(0xFF66A558),
500: Color(0xFF408335),
600: Color(0xFF2A7230),
700: Color(0xFF165C27),
800: Color(0xFF154A26),
};
static const Map<int, Color> lightGreen = {
100: Color(0xFFEBF7DD),
200: Color(0xFFC9EB9E),
300: Color(0xFF9FD45F),
400: Color(0xFF78BE14),
500: Color(0xFF63A615),
600: Color(0xFF508B1B),
700: Color(0xFF44741A),
800: Color(0xFF375F15),
};
static const Map<int, Color> warmGrey = {
100: Color(0xFFF5F4F1),
200: Color(0xFFDDDED6),
300: Color(0xFFBCBBB2),
400: Color(0xFF9C9A8E),
500: Color(0xFF858379),
600: Color(0xFF747067),
700: Color(0xFF4F4B41),
800: Color(0xFF38342F),
};
static const Map<int, Color> coolGrey = {
100: Color(0xFFF0F3F5),
200: Color(0xFFD7DCE1),
300: Color(0xFFAFB4BB),
400: Color(0xFF878C96),
500: Color(0xFF646973),
600: Color(0xFF3C414B),
700: Color(0xFF282D37),
800: Color(0xFF131821),
};
static const Color black = Color(0xFF000000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment