i want to know the code to produce colour in a box of my DB

thx

Recommended Answers

All 2 Replies

Hi,

You want to store a colour value in your DB?

It really depends on what you are using the colour for, you can store it as a string in Hex format e.g. 000000 (black), FFFFFF (white) or in RGB 0,0,0 (black), 255,255,255 (white) etc or even just "Black" or "White"

Where are you getting the colour from and what are you planning to use it for?

i want the colour to be as my alert...such as a collection of database, if alert trigger(through coding) then one of the box become colour in red. just the particular box.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.