Tonal Palette structure in Material.

A tonal palette is comprised of 5 tonal ranges. Each tonal range includes the 13 stops, or tonal swatches.

Tonal range names are:

  • Neutral (N)

  • Neutral variant (NV)

  • Primary (P)

  • Secondary (S)

  • Tertiary (T)

Summary

Public constructors

TonalPalette(
    neutral100: Color,
    neutral99: Color,
    neutral98: Color,
    neutral96: Color,
    neutral95: Color,
    neutral94: Color,
    neutral92: Color,
    neutral90: Color,
    neutral87: Color,
    neutral80: Color,
    neutral70: Color,
    neutral60: Color,
    neutral50: Color,
    neutral40: Color,
    neutral30: Color,
    neutral24: Color,
    neutral22: Color,
    neutral20: Color,
    neutral17: Color,
    neutral12: Color,
    neutral10: Color,
    neutral6: Color,
    neutral4: Color,
    neutral0: Color,
    neutralVariant100: Color,
    neutralVariant99: Color,
    neutralVariant98: Color,
    neutralVariant96: Color,
    neutralVariant95: Color,
    neutralVariant94: Color,
    neutralVariant92: Color,
    neutralVariant90: Color,
    neutralVariant87: Color,
    neutralVariant80: Color,
    neutralVariant70: Color,
    neutralVariant60: Color,
    neutralVariant50: Color,
    neutralVariant40: Color,
    neutralVariant30: Color,
    neutralVariant24: Color,
    neutralVariant22: Color,
    neutralVariant20: Color,
    neutralVariant17: Color,
    neutralVariant12: Color,
    neutralVariant10: Color,
    neutralVariant6: Color,
    neutralVariant4: Color,
    neutralVariant0: Color,
    primary100: Color,
    primary99: Color,
    primary95: Color,
    primary90: Color,
    primary80: Color,
    primary70: Color,
    primary60: Color,
    primary50: Color,
    primary40: Color,
    primary30: Color,
    primary20: Color,
    primary10: Color,
    primary0: Color,
    secondary100: Color,
    secondary99: Color,
    secondary95: Color,
    secondary90: Color,
    secondary80: Color,
    secondary70: Color,
    secondary60: Color,
    secondary50: Color,
    secondary40: Color,
    secondary30: Color,
    secondary20: Color,
    secondary10: Color,
    secondary0: Color,
    tertiary100: Color,
    tertiary99: Color,
    tertiary95: Color,
    tertiary90: Color,
    tertiary80: Color,
    tertiary70: Color,
    tertiary60: Color,
    tertiary50: Color,
    tertiary40: Color,
    tertiary30: Color,
    tertiary20: Color,
    tertiary10: Color,
    tertiary0: Color
)
Cmn

Public properties

Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn
Color
Cmn

Public constructors

TonalPalette

TonalPalette(
    neutral100: Color,
    neutral99: Color,
    neutral98: Color,
    neutral96: Color,
    neutral95: Color,
    neutral94: Color,
    neutral92: Color,
    neutral90: Color,
    neutral87: Color,
    neutral80: Color,
    neutral70: Color,
    neutral60: Color,
    neutral50: Color,
    neutral40: Color,
    neutral30: Color,
    neutral24: Color,
    neutral22: Color,
    neutral20: Color,
    neutral17: Color,
    neutral12: Color,
    neutral10: Color,
    neutral6: Color,
    neutral4: Color,
    neutral0: Color,
    neutralVariant100: Color,
    neutralVariant99: Color,
    neutralVariant98: Color,
    neutralVariant96: Color,
    neutralVariant95: Color,
    neutralVariant94: Color,
    neutralVariant92: Color,
    neutralVariant90: Color,
    neutralVariant87: Color,
    neutralVariant80: Color,
    neutralVariant70: Color,
    neutralVariant60: Color,
    neutralVariant50: Color,
    neutralVariant40: Color,
    neutralVariant30: Color,
    neutralVariant24: Color,
    neutralVariant22: Color,
    neutralVariant20: Color,
    neutralVariant17: Color,
    neutralVariant12: Color,
    neutralVariant10: Color,
    neutralVariant6: Color,
    neutralVariant4: Color,
    neutralVariant0: Color,
    primary100: Color,
    primary99: Color,
    primary95: Color,
    primary90: Color,
    primary80: Color,
    primary70: Color,
    primary60: Color,
    primary50: Color,
    primary40: Color,
    primary30: Color,
    primary20: Color,
    primary10: Color,
    primary0: Color,
    secondary100: Color,
    secondary99: Color,
    secondary95: Color,
    secondary90: Color,
    secondary80: Color,
    secondary70: Color,
    secondary60: Color,
    secondary50: Color,
    secondary40: Color,
    secondary30: Color,
    secondary20: Color,
    secondary10: Color,
    secondary0: Color,
    tertiary100: Color,
    tertiary99: Color,
    tertiary95: Color,
    tertiary90: Color,
    tertiary80: Color,
    tertiary70: Color,
    tertiary60: Color,
    tertiary50: Color,
    tertiary40: Color,
    tertiary30: Color,
    tertiary20: Color,
    tertiary10: Color,
    tertiary0: Color
)

Public properties

neutral0

val neutral0Color

neutral10

val neutral10Color

neutral100

val neutral100Color

neutral12

val neutral12Color

neutral17

val neutral17Color

neutral20

val neutral20Color

neutral22

val neutral22Color

neutral24

val neutral24Color

neutral30

val neutral30Color

neutral4

val neutral4Color

neutral40

val neutral40Color

neutral50

val neutral50Color

neutral6

val neutral6Color

neutral60

val neutral60Color

neutral70

val neutral70Color

neutral80

val neutral80Color

neutral87

val neutral87Color

neutral90

val neutral90Color

neutral92

val neutral92Color

neutral94

val neutral94Color

neutral95

val neutral95Color

neutral96

val neutral96Color

neutral98

val neutral98Color

neutral99

val neutral99Color

neutralVariant0

val neutralVariant0Color

neutralVariant10

val neutralVariant10Color

neutralVariant100

val neutralVariant100Color

neutralVariant12

val neutralVariant12Color

neutralVariant17

val neutralVariant17Color

neutralVariant20

val neutralVariant20Color

neutralVariant22

val neutralVariant22Color

neutralVariant24

val neutralVariant24Color

neutralVariant30

val neutralVariant30Color

neutralVariant4

val neutralVariant4Color

neutralVariant40

val neutralVariant40Color

neutralVariant50

val neutralVariant50Color

neutralVariant6

val neutralVariant6Color

neutralVariant60

val neutralVariant60Color

neutralVariant70

val neutralVariant70Color

neutralVariant80

val neutralVariant80Color

neutralVariant87

val neutralVariant87Color

neutralVariant90

val neutralVariant90Color

neutralVariant92

val neutralVariant92Color

neutralVariant94

val neutralVariant94Color

neutralVariant95

val neutralVariant95Color

neutralVariant96

val neutralVariant96Color

neutralVariant98

val neutralVariant98Color

neutralVariant99

val neutralVariant99Color

primary0

val primary0Color

primary10

val primary10Color

primary100

val primary100Color

primary20

val primary20Color

primary30

val primary30Color

primary40

val primary40Color

primary50

val primary50Color

primary60

val primary60Color

primary70

val primary70Color

primary80

val primary80Color

primary90

val primary90Color

primary95

val primary95Color

primary99

val primary99Color

secondary0

val secondary0Color

secondary10

val secondary10Color

secondary100

val secondary100Color

secondary20

val secondary20Color

secondary30

val secondary30Color

secondary40

val secondary40Color

secondary50

val secondary50Color

secondary60

val secondary60Color

secondary70

val secondary70Color

secondary80

val secondary80Color

secondary90

val secondary90Color

secondary95

val secondary95Color

secondary99

val secondary99Color

tertiary0

val tertiary0Color

tertiary10

val tertiary10Color

tertiary100

val tertiary100Color

tertiary20

val tertiary20Color

tertiary30

val tertiary30Color

tertiary40

val tertiary40Color

tertiary50

val tertiary50Color

tertiary60

val tertiary60Color

tertiary70

val tertiary70Color

tertiary80

val tertiary80Color

tertiary90

val tertiary90Color

tertiary95

val tertiary95Color

tertiary99

val tertiary99Color