<button
type="button"
className="btn"
style={{ background: "#C620A7", color: "white" }}
onClick = "{(e)=>postDelete(value.id,e)} ; *function* "
>
Delete task
</button>
// onclick has two functions one is postdelete and the other function I want to change the color ? need the code how to change the style and change the background color