Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change highlight color

jQuery's highlight method will highlight any div with a yellow background.

How do I specify what color to use instead of yellow for highlight?

like image 853
Hady Avatar asked Apr 27 '09 22:04

Hady


People also ask

How can I change the color of highlighted text?

To change the highlight text colour, click the first box beside “Selected Text” and choose your preferred colour in the resulting colour panel and then click “Done”. Use the second box to change the highlight background colour.

Can I change highlight color in Word?

The default color for highlighting is yellow, but you can change the color if you click the down-arrow to the right of the Highlight tool on the Formatting toolbar. Word allows you to pick any of fifteen different colors. The colors used for highlighting cannot be changed beyond what is offered in the fifteen colors.

How do I change the highlight color in Chrome?

Well now you can change the color with only a few simple clicks How to use Download the extension Click the Enabled Box Select the colors you want easily with your computers default color picker Then click "save changes" and the color will change It's that simple Version 3.0 Bug fixes PS the code is really messy and ...


1 Answers

According to the documentation:

$(this).effect("highlight", {color: 'blue'}, 3000); 
like image 170
Paolo Bergantino Avatar answered Sep 19 '22 00:09

Paolo Bergantino