import parseToRgba from './parseToRgba' ; import rgba from './rgba' ; param amount function transparentize ( color , amount ) { const [ r , g , b , a ] = parseToRgba ( color ) ; return rgba ( r , g , b , a - amount ) ; } export default transparentize ;