Is it possible to implement different colours for the various components, such as minimum, maximum, quartiles and median in box and whisker plot?

I am searching for a library or html and javascript code to implement box and whisker plot and each component such as minimum, maximum, quartiles and median should be represented in different colours. Is it possible to implement such box and whisker plot?