flow import normalizeColor from 'normalize-css-color' ; const processColor = ( color ? ) : number | undefined => { if ( color === undefined || color === null ) { return color ; } let int32Color = normalizeColor ( color ) ; if ( int32Color === undefined || int32Color === null ) { return undefined ; } int32Color = ( ( int32Color << 24 ) | ( int32Color >>> 8 ) ) >>> 0 ; return int32Color ; } ; export default processColor ;