Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a shortcut for color chooser in NetBeans?

Is there a shortcut for color chooser in NetBeans?

I found this same query on NetBeans website, it was said that this was possible but I can't find an actual answer how to do it.

I mean this: when I am in a CSS file and I am editing a property that involves a color, the color chooser pops up automatically. I would like to have the color chooser pop up on demand when I am editing any file (e.g. a PHP file). It would be very helpful.

I already looked in Options -> Keymap and there seems to be no shortcut containing the word "color".

Thanks.

like image 503
user1763581 Avatar asked Dec 31 '13 00:12

user1763581


People also ask

How do you code a color picker?

To add a color picker in an HTML page, use an <input> tag with type = 'color' . The initial value can be set using the value property. This value needs to be set in hexadecimal because colors are represented as six-digit hexadecimal values following a hashtag ( # ).


1 Answers

In the editor, click the text representing the color (you don't even have to highlight the whole thing), then hit Ctrl+Spacebar.

like image 115
Michael Winchester Avatar answered Oct 27 '22 13:10

Michael Winchester