HSLA إلى RGBA
Translate style notation to channel notation
HSLA is intuitive for editing; RGBA is common in rendering APIs and design-dev handoff docs. This conversion preserves opacity while turning hue-based values into channel tuples.
Cross-platform caveat
Web APIs usually use alpha 0-1, while some native stacks expect 0-255. Confirm unit expectations before copying values.