Ns Color Formats

Use when constructing new Color(...) from hex strings, ints, or rgb()/hsl() syntax, reading color.hex / color.argb, or colors come out with wrong alpha — hex STRINGS are RRGGBBAA (alpha last) while argb ints and the 4-arg constructor are alpha-FIRST, .hex drops the alpha when opaque, and short hex doubles each nibble.

nativescript Updated 1 repo stars

File contents

nativescript/skills commit 7b212648d3

Frequently asked questions

npx get-skill add nativescript/ns-color-formats