Skip to main content

Text Shadow Color ★

Set the color of the text shadow.

★ represents it's an iOS-only prop

Import

src/screens/Component.js
import { text } from "nativeflowcss";

Properties

ObjectNative PropertiesColor Box
text.shadow_color_slate_50{ textShadowColor: '#f8fafc' }
Aa
text.shadow_color_slate_100{ textShadowColor: '#f1f5f9' }
Aa
text.shadow_color_slate_200{ textShadowColor: '#e2e8f0' }
Aa
text.shadow_color_slate_300{ textShadowColor: '#cbd5e1' }
Aa
text.shadow_color_slate_400{ textShadowColor: '#94a3b8' }
Aa
text.shadow_color_slate_500{ textShadowColor: '#64748b' }
Aa
text.shadow_color_slate_600{ textShadowColor: '#475569' }
Aa
text.shadow_color_slate_700{ textShadowColor: '#334155' }
Aa
text.shadow_color_slate_800{ textShadowColor: '#1e293b' }
Aa
text.shadow_color_slate_900{ textShadowColor: '#0f172a' }
Aa
text.shadow_color_slate_950{ textShadowColor: '#020617' }
Aa
text.shadow_color_gray_50{ textShadowColor: '#f9fafb' }
Aa
text.shadow_color_gray_100{ textShadowColor: '#f3f4f6' }
Aa
text.shadow_color_gray_200{ textShadowColor: '#e5e7eb' }
Aa
text.shadow_color_gray_300{ textShadowColor: '#d1d5db' }
Aa
text.shadow_color_gray_400{ textShadowColor: '#9ca3af' }
Aa
text.shadow_color_gray_500{ textShadowColor: '#6b7280' }
Aa
text.shadow_color_gray_600{ textShadowColor: '#4b5563' }
Aa
text.shadow_color_gray_700{ textShadowColor: '#374151' }
Aa
text.shadow_color_gray_800{ textShadowColor: '#1f2937' }
Aa
text.shadow_color_gray_900{ textShadowColor: '#111827' }
Aa
text.shadow_color_gray_950{ textShadowColor: '#030712' }
Aa
text.shadow_color_zinc_50{ textShadowColor: '#fafafa' }
Aa
text.shadow_color_zinc_100{ textShadowColor: '#f4f4f5' }
Aa
text.shadow_color_zinc_200{ textShadowColor: '#e4e4e7' }
Aa
text.shadow_color_zinc_300{ textShadowColor: '#d4d4d8' }
Aa
text.shadow_color_zinc_400{ textShadowColor: '#a1a1aa' }
Aa
text.shadow_color_zinc_500{ textShadowColor: '#71717a' }
Aa
text.shadow_color_zinc_600{ textShadowColor: '#52525b' }
Aa
text.shadow_color_zinc_700{ textShadowColor: '#3f3f46' }
Aa
text.shadow_color_zinc_800{ textShadowColor: '#27272a' }
Aa
text.shadow_color_zinc_900{ textShadowColor: '#18181b' }
Aa
text.shadow_color_zinc_950{ textShadowColor: '#09090b' }
Aa
text.shadow_color_neutral_50{ textShadowColor: '#fafafa' }
Aa
text.shadow_color_neutral_100{ textShadowColor: '#f5f5f5' }
Aa
text.shadow_color_neutral_200{ textShadowColor: '#e5e5e5' }
Aa
text.shadow_color_neutral_300{ textShadowColor: '#d4d4d4' }
Aa
text.shadow_color_neutral_400{ textShadowColor: '#a3a3a3' }
Aa
text.shadow_color_neutral_500{ textShadowColor: '#737373' }
Aa
text.shadow_color_neutral_600{ textShadowColor: '#525252' }
Aa
text.shadow_color_neutral_700{ textShadowColor: '#404040' }
Aa
text.shadow_color_neutral_800{ textShadowColor: '#262626' }
Aa
text.shadow_color_neutral_900{ textShadowColor: '#171717' }
Aa
text.shadow_color_neutral_950{ textShadowColor: '#0a0a0a' }
Aa
text.shadow_color_stone_50{ textShadowColor: '#fafaf9' }
Aa
text.shadow_color_stone_100{ textShadowColor: '#f5f5f4' }
Aa
text.shadow_color_stone_200{ textShadowColor: '#e7e5e4' }
Aa
text.shadow_color_stone_300{ textShadowColor: '#d6d3d1' }
Aa
text.shadow_color_stone_400{ textShadowColor: '#a8a29e' }
Aa
text.shadow_color_stone_500{ textShadowColor: '#78716c' }
Aa
text.shadow_color_stone_600{ textShadowColor: '#57534e' }
Aa
text.shadow_color_stone_700{ textShadowColor: '#44403c' }
Aa
text.shadow_color_stone_800{ textShadowColor: '#292524' }
Aa
text.shadow_color_stone_900{ textShadowColor: '#1c1917' }
Aa
text.shadow_color_stone_950{ textShadowColor: '#0c0a09' }
Aa
text.shadow_color_red_50{ textShadowColor: '#fef2f2' }
Aa
text.shadow_color_red_100{ textShadowColor: '#fee2e2' }
Aa
text.shadow_color_red_200{ textShadowColor: '#fecaca' }
Aa
text.shadow_color_red_300{ textShadowColor: '#fca5a5' }
Aa
text.shadow_color_red_400{ textShadowColor: '#f87171' }
Aa
text.shadow_color_red_500{ textShadowColor: '#ef4444' }
Aa
text.shadow_color_red_600{ textShadowColor: '#dc2626' }
Aa
text.shadow_color_red_700{ textShadowColor: '#b91c1c' }
Aa
text.shadow_color_red_800{ textShadowColor: '#991b1b' }
Aa
text.shadow_color_red_900{ textShadowColor: '#7f1d1d' }
Aa
text.shadow_color_red_950{ textShadowColor: '#450a0a' }
Aa
text.shadow_color_orange_50{ textShadowColor: '#fff7ed' }
Aa
text.shadow_color_orange_100{ textShadowColor: '#ffedd5' }
Aa
text.shadow_color_orange_200{ textShadowColor: '#fed7aa' }
Aa
text.shadow_color_orange_300{ textShadowColor: '#fdba74' }
Aa
text.shadow_color_orange_400{ textShadowColor: '#fb923c' }
Aa
text.shadow_color_orange_500{ textShadowColor: '#f97316' }
Aa
text.shadow_color_orange_600{ textShadowColor: '#ea580c' }
Aa
text.shadow_color_orange_700{ textShadowColor: '#c2410c' }
Aa
text.shadow_color_orange_800{ textShadowColor: '#9a3412' }
Aa
text.shadow_color_orange_900{ textShadowColor: '#7c2d12' }
Aa
text.shadow_color_orange_950{ textShadowColor: '#431407' }
Aa
text.shadow_color_amber_50{ textShadowColor: '#fffbeb' }
Aa
text.shadow_color_amber_100{ textShadowColor: '#fef3c7' }
Aa
text.shadow_color_amber_200{ textShadowColor: '#fde68a' }
Aa
text.shadow_color_amber_300{ textShadowColor: '#fcd34d' }
Aa
text.shadow_color_amber_400{ textShadowColor: '#fbbf24' }
Aa
text.shadow_color_amber_500{ textShadowColor: '#f59e0b' }
Aa
text.shadow_color_amber_600{ textShadowColor: '#d97706' }
Aa
text.shadow_color_amber_700{ textShadowColor: '#b45309' }
Aa
text.shadow_color_amber_800{ textShadowColor: '#92400e' }
Aa
text.shadow_color_amber_900{ textShadowColor: '#78350f' }
Aa
text.shadow_color_amber_950{ textShadowColor: '#451a03' }
Aa
text.shadow_color_yellow_50{ textShadowColor: '#fefce8' }
Aa
text.shadow_color_yellow_100{ textShadowColor: '#fef9c3' }
Aa
text.shadow_color_yellow_200{ textShadowColor: '#fef08a' }
Aa
text.shadow_color_yellow_300{ textShadowColor: '#fde047' }
Aa
text.shadow_color_yellow_400{ textShadowColor: '#facc15' }
Aa
text.shadow_color_yellow_500{ textShadowColor: '#eab308' }
Aa
text.shadow_color_yellow_600{ textShadowColor: '#ca8a04' }
Aa
text.shadow_color_yellow_700{ textShadowColor: '#a16207' }
Aa
text.shadow_color_yellow_800{ textShadowColor: '#854d0e' }
Aa
text.shadow_color_yellow_900{ textShadowColor: '#713f12' }
Aa
text.shadow_color_yellow_950{ textShadowColor: '#422006' }
Aa
text.shadow_color_lime_50{ textShadowColor: '#f7fee7' }
Aa
text.shadow_color_lime_100{ textShadowColor: '#ecfccb' }
Aa
text.shadow_color_lime_200{ textShadowColor: '#d9f99d' }
Aa
text.shadow_color_lime_300{ textShadowColor: '#bef264' }
Aa
text.shadow_color_lime_400{ textShadowColor: '#a3e635' }
Aa
text.shadow_color_lime_500{ textShadowColor: '#84cc16' }
Aa
text.shadow_color_lime_600{ textShadowColor: '#65a30d' }
Aa
text.shadow_color_lime_700{ textShadowColor: '#4d7c0f' }
Aa
text.shadow_color_lime_800{ textShadowColor: '#3f6212' }
Aa
text.shadow_color_lime_900{ textShadowColor: '#365314' }
Aa
text.shadow_color_lime_950{ textShadowColor: '#1a2e05' }
Aa
text.shadow_color_green_50{ textShadowColor: '#f0fdf4' }
Aa
text.shadow_color_green_100{ textShadowColor: '#dcfce7' }
Aa
text.shadow_color_green_200{ textShadowColor: '#bbf7d0' }
Aa
text.shadow_color_green_300{ textShadowColor: '#86efac' }
Aa
text.shadow_color_green_400{ textShadowColor: '#4ade80' }
Aa
text.shadow_color_green_500{ textShadowColor: '#22c55e' }
Aa
text.shadow_color_green_600{ textShadowColor: '#16a34a' }
Aa
text.shadow_color_green_700{ textShadowColor: '#15803d' }
Aa
text.shadow_color_green_800{ textShadowColor: '#166534' }
Aa
text.shadow_color_green_900{ textShadowColor: '#14532d' }
Aa
text.shadow_color_green_950{ textShadowColor: '#052e16' }
Aa
text.shadow_color_emerald_50{ textShadowColor: '#ecfdf5' }
Aa
text.shadow_color_emerald_100{ textShadowColor: '#d1fae5' }
Aa
text.shadow_color_emerald_200{ textShadowColor: '#a7f3d0' }
Aa
text.shadow_color_emerald_300{ textShadowColor: '#6ee7b7' }
Aa
text.shadow_color_emerald_400{ textShadowColor: '#34d399' }
Aa
text.shadow_color_emerald_500{ textShadowColor: '#10b981' }
Aa
text.shadow_color_emerald_600{ textShadowColor: '#059669' }
Aa
text.shadow_color_emerald_700{ textShadowColor: '#047857' }
Aa
text.shadow_color_emerald_800{ textShadowColor: '#065f46' }
Aa
text.shadow_color_emerald_900{ textShadowColor: '#064e3b' }
Aa
text.shadow_color_emerald_950{ textShadowColor: '#022c22' }
Aa
text.shadow_color_teal_50{ textShadowColor: '#f0fdfa' }
Aa
text.shadow_color_teal_100{ textShadowColor: '#ccfbf1' }
Aa
text.shadow_color_teal_200{ textShadowColor: '#99f6e4' }
Aa
text.shadow_color_teal_300{ textShadowColor: '#5eead4' }
Aa
text.shadow_color_teal_400{ textShadowColor: '#2dd4bf' }
Aa
text.shadow_color_teal_500{ textShadowColor: '#14b8a6' }
Aa
text.shadow_color_teal_600{ textShadowColor: '#0d9488' }
Aa
text.shadow_color_teal_700{ textShadowColor: '#0f766e' }
Aa
text.shadow_color_teal_800{ textShadowColor: '#115e59' }
Aa
text.shadow_color_teal_900{ textShadowColor: '#134e4a' }
Aa
text.shadow_color_teal_950{ textShadowColor: '#042f2e' }
Aa
text.shadow_color_cyan_50{ textShadowColor: '#ecfeff' }
Aa
text.shadow_color_cyan_100{ textShadowColor: '#cffafe' }
Aa
text.shadow_color_cyan_200{ textShadowColor: '#a5f3fc' }
Aa
text.shadow_color_cyan_300{ textShadowColor: '#67e8f9' }
Aa
text.shadow_color_cyan_400{ textShadowColor: '#22d3ee' }
Aa
text.shadow_color_cyan_500{ textShadowColor: '#06b6d4' }
Aa
text.shadow_color_cyan_600{ textShadowColor: '#0891b2' }
Aa
text.shadow_color_cyan_700{ textShadowColor: '#0e7490' }
Aa
text.shadow_color_cyan_800{ textShadowColor: '#155e75' }
Aa
text.shadow_color_cyan_900{ textShadowColor: '#164e63' }
Aa
text.shadow_color_cyan_950{ textShadowColor: '#083344' }
Aa
text.shadow_color_sky_50{ textShadowColor: '#f0f9ff' }
Aa
text.shadow_color_sky_100{ textShadowColor: '#e0f2fe' }
Aa
text.shadow_color_sky_200{ textShadowColor: '#bae6fd' }
Aa
text.shadow_color_sky_300{ textShadowColor: '#7dd3fc' }
Aa
text.shadow_color_sky_400{ textShadowColor: '#38bdf8' }
Aa
text.shadow_color_sky_500{ textShadowColor: '#0ea5e9' }
Aa
text.shadow_color_sky_600{ textShadowColor: '#0284c7' }
Aa
text.shadow_color_sky_700{ textShadowColor: '#0369a1' }
Aa
text.shadow_color_sky_800{ textShadowColor: '#075985' }
Aa
text.shadow_color_sky_900{ textShadowColor: '#0c4a6e' }
Aa
text.shadow_color_sky_950{ textShadowColor: '#082f49' }
Aa
text.shadow_color_blue_50{ textShadowColor: '#eff6ff' }
Aa
text.shadow_color_blue_100{ textShadowColor: '#dbeafe' }
Aa
text.shadow_color_blue_200{ textShadowColor: '#bfdbfe' }
Aa
text.shadow_color_blue_300{ textShadowColor: '#93c5fd' }
Aa
text.shadow_color_blue_400{ textShadowColor: '#60a5fa' }
Aa
text.shadow_color_blue_500{ textShadowColor: '#3b82f6' }
Aa
text.shadow_color_blue_600{ textShadowColor: '#2563eb' }
Aa
text.shadow_color_blue_700{ textShadowColor: '#1d4ed8' }
Aa
text.shadow_color_blue_800{ textShadowColor: '#1e40af' }
Aa
text.shadow_color_blue_900{ textShadowColor: '#1e3a8a' }
Aa
text.shadow_color_blue_950{ textShadowColor: '#172554' }
Aa
text.shadow_color_indigo_50{ textShadowColor: '#eef2ff' }
Aa
text.shadow_color_indigo_100{ textShadowColor: '#e0e7ff' }
Aa
text.shadow_color_indigo_200{ textShadowColor: '#c7d2fe' }
Aa
text.shadow_color_indigo_300{ textShadowColor: '#a5b4fc' }
Aa
text.shadow_color_indigo_400{ textShadowColor: '#818cf8' }
Aa
text.shadow_color_indigo_500{ textShadowColor: '#6366f1' }
Aa
text.shadow_color_indigo_600{ textShadowColor: '#4f46e5' }
Aa
text.shadow_color_indigo_700{ textShadowColor: '#4338ca' }
Aa
text.shadow_color_indigo_800{ textShadowColor: '#3730a3' }
Aa
text.shadow_color_indigo_900{ textShadowColor: '#312e81' }
Aa
text.shadow_color_indigo_950{ textShadowColor: '#1e1b4b' }
Aa
text.shadow_color_violet_50{ textShadowColor: '#f5f3ff' }
Aa
text.shadow_color_violet_100{ textShadowColor: '#ede9fe' }
Aa
text.shadow_color_violet_200{ textShadowColor: '#ddd6fe' }
Aa
text.shadow_color_violet_300{ textShadowColor: '#c4b5fd' }
Aa
text.shadow_color_violet_400{ textShadowColor: '#a78bfa' }
Aa
text.shadow_color_violet_500{ textShadowColor: '#8b5cf6' }
Aa
text.shadow_color_violet_600{ textShadowColor: '#7c3aed' }
Aa
text.shadow_color_violet_700{ textShadowColor: '#6d28d9' }
Aa
text.shadow_color_violet_800{ textShadowColor: '#5b21b6' }
Aa
text.shadow_color_violet_900{ textShadowColor: '#4c1d95' }
Aa
text.shadow_color_violet_950{ textShadowColor: '#2e1065' }
Aa
text.shadow_color_purple_50{ textShadowColor: '#faf5ff' }
Aa
text.shadow_color_purple_100{ textShadowColor: '#f3e8ff' }
Aa
text.shadow_color_purple_200{ textShadowColor: '#e9d5ff' }
Aa
text.shadow_color_purple_300{ textShadowColor: '#d8b4fe' }
Aa
text.shadow_color_purple_400{ textShadowColor: '#c084fc' }
Aa
text.shadow_color_purple_500{ textShadowColor: '#a855f7' }
Aa
text.shadow_color_purple_600{ textShadowColor: '#9333ea' }
Aa
text.shadow_color_purple_700{ textShadowColor: '#7e22ce' }
Aa
text.shadow_color_purple_800{ textShadowColor: '#6b21a8' }
Aa
text.shadow_color_purple_900{ textShadowColor: '#581c87' }
Aa
text.shadow_color_purple_950{ textShadowColor: '#3b0764' }
Aa
text.shadow_color_fuchsia_50{ textShadowColor: '#fdf4ff' }
Aa
text.shadow_color_fuchsia_100{ textShadowColor: '#fae8ff' }
Aa
text.shadow_color_fuchsia_200{ textShadowColor: '#f5d0fe' }
Aa
text.shadow_color_fuchsia_300{ textShadowColor: '#f0abfc' }
Aa
text.shadow_color_fuchsia_400{ textShadowColor: '#e879f9' }
Aa
text.shadow_color_fuchsia_500{ textShadowColor: '#d946ef' }
Aa
text.shadow_color_fuchsia_600{ textShadowColor: '#c026d3' }
Aa
text.shadow_color_fuchsia_700{ textShadowColor: '#a21caf' }
Aa
text.shadow_color_fuchsia_800{ textShadowColor: '#86198f' }
Aa
text.shadow_color_fuchsia_900{ textShadowColor: '#701a75' }
Aa
text.shadow_color_fuchsia_950{ textShadowColor: '#4a044e' }
Aa
text.shadow_color_pink_50{ textShadowColor: '#fdf2f8' }
Aa
text.shadow_color_pink_100{ textShadowColor: '#fce7f3' }
Aa
text.shadow_color_pink_200{ textShadowColor: '#fbcfe8' }
Aa
text.shadow_color_pink_300{ textShadowColor: '#f9a8d4' }
Aa
text.shadow_color_pink_400{ textShadowColor: '#f472b6' }
Aa
text.shadow_color_pink_500{ textShadowColor: '#ec4899' }
Aa
text.shadow_color_pink_600{ textShadowColor: '#db2777' }
Aa
text.shadow_color_pink_700{ textShadowColor: '#be185d' }
Aa
text.shadow_color_pink_800{ textShadowColor: '#9d174d' }
Aa
text.shadow_color_pink_900{ textShadowColor: '#831843' }
Aa
text.shadow_color_pink_950{ textShadowColor: '#500724' }
Aa
text.shadow_color_rose_50{ textShadowColor: '#fff1f2' }
Aa
text.shadow_color_rose_100{ textShadowColor: '#ffe4e6' }
Aa
text.shadow_color_rose_200{ textShadowColor: '#fecdd3' }
Aa
text.shadow_color_rose_300{ textShadowColor: '#fda4af' }
Aa
text.shadow_color_rose_400{ textShadowColor: '#fb7185' }
Aa
text.shadow_color_rose_500{ textShadowColor: '#f43f5e' }
Aa
text.shadow_color_rose_600{ textShadowColor: '#e11d48' }
Aa
text.shadow_color_rose_700{ textShadowColor: '#be123c' }
Aa
text.shadow_color_rose_800{ textShadowColor: '#9f1239' }
Aa
text.shadow_color_rose_900{ textShadowColor: '#881337' }
Aa
text.shadow_color_rose_950{ textShadowColor: '#4c0519' }
Aa

Custom Shadow Colors

Custom properties are usually rendered using _(customValue)

ObjectNative Properties
shadow.color_(customColor){ shadowColor: customColor }

Colors

Red Green Blue (RGB)

React Native supports rgb() and rgba() in both hexadecimal and functional notation:

  • '#f0f' (#rgb)
  • '#ff00ff' (#rrggbb)
  • '#f0ff' (#rgba)
  • '#ff00ff00' (#rrggbbaa)
  • 'rgb(255, 0, 255)'
  • 'rgb(255 0 255)'
  • 'rgba(255, 0, 255, 1.0)'
  • 'rgba(255 0 255 / 1.0)'

Hue Saturation Lightness (HSL)

React Native supports hsl() and hsla() in functional notation:

  • 'hsl(360, 100%, 100%)'
  • 'hsl(360 100% 100%)'
  • 'hsla(360, 100%, 100%, 1.0)'
  • 'hsla(360 100% 100% / 1.0)'

Hue Whiteness Blackness (HWB)

React Native supports hwb() in functional notation:

  • 'hwb(0, 0%, 100%)'
  • 'hwb(360, 100%, 100%)'
  • 'hwb(0 0% 0%)'
  • 'hwb(70 50% 0%)'

Color ints

React Native supports also colors as an int values (in RGB color mode):

  • 0xff00ff00 (0xrrggbbaa)
CAUTION

This action is dangerous This might appear similar to the Android Color ints representation but on Android values are stored in SRGB color mode (0xaarrggbb).

Named Colors

All colors from the CSS3/SVG Specs are supported.

They only support lowercase named colors