Skip to content

Instantly share code, notes, and snippets.

@KaNiShi
Last active March 24, 2020 05:10
Show Gist options
  • Save KaNiShi/f757649b654471899d27670e13348eee to your computer and use it in GitHub Desktop.
Save KaNiShi/f757649b654471899d27670e13348eee to your computer and use it in GitHub Desktop.
import androidx.annotation.ColorInt
object MaterialColors {
@ColorInt const val RED = 0xfff44336.toInt()
@ColorInt const val PINK = 0xffe91e63.toInt()
@ColorInt const val PURPLE = 0xff9c27b0.toInt()
@ColorInt const val DEEP_PURPLE = 0xff673ab7.toInt()
@ColorInt const val INDIGO = 0xff3f51b5.toInt()
@ColorInt const val BLUE = 0xff2196f3.toInt()
@ColorInt const val LIGHT_BLUE = 0xff03a9f4.toInt()
@ColorInt const val CYAN = 0xff00bcd4.toInt()
@ColorInt const val TEAL = 0xff009688.toInt()
@ColorInt const val GREEN = 0xff4caf50.toInt()
@ColorInt const val LIGHT_GREEN = 0xff8bc34a.toInt()
@ColorInt const val LIME = 0xffcddc39.toInt()
@ColorInt const val YELLOW = 0xffffeb3b.toInt()
@ColorInt const val AMBER = 0xffffc107.toInt()
@ColorInt const val ORANGE = 0xffff9800.toInt()
@ColorInt const val DEEP_ORANGE = 0xffff5722.toInt()
@ColorInt const val BROWN = 0xff795548.toInt()
@ColorInt const val GREY = 0xff9e9e9e.toInt()
@ColorInt const val BLUE_GREY = 0xff607d8b.toInt()
val COLOR_LIST = listOf(RED, PINK, PURPLE, DEEP_PURPLE, INDIGO, BLUE, LIGHT_BLUE, CYAN, TEAL, GREEN, LIGHT_GREEN, LIME, YELLOW, AMBER, ORANGE, DEEP_ORANGE, BROWN, GREY, BLUE_GREY)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment