Hex To RGB Modifier
Converts a color from hex to RGB, the perfect match for the color fieldtype.
color: `#FF269E`
{{ color | hex_to_rgb }}
{{ Statamic::modify($color)->hexToRgb() }}
255, 38, 158
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page