Applications of Discrete Mathematics and Statistics in IT
Colors for tables and Web site backgrounds must be chosen when Web pages are built. There are 17 standard color names defined in the HTML and CSS: aqua, black, blue, fuchsia, gray, grey, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.
Each color has a unique hexadecimal value that consists of 6 hexadecimal digits. The hexadecimal value can be split into 3 pairs. Each pair corresponds to the intensity of the colors red, green, and blue. Then, the hexadecimal code of each of those colors is translated to an RGB color code that is triplet of decimal numbers.
For example:
Color | Hexadecimal |
| RGB |
aquamarine | 7FFFD4 |
| 127,255,212 |
In Paint, this is designated in the second column of numbers in the bottom right corner. The following image shows the above Paint color option for aquamarine.
Choose a color here, and write a few paragraphs (100–300 words) describing your solution to following exercise:
- Translate the hexadecimal code of your choice into RGB code.
- Open Paint, click on colors, choose edit colors, and pick define custom colors.
- Copy each number of your triplet in the red, green, and blue boxes. Verify that the color that you have created is the one that you expected.
- Finally, compare your color's hexadecimal code to its binary code.
12 years ago
20
Purchase the answer to view it

- the_color_chosen_was_chocolate.docx
- there are 48 grapes in a bunch if julia eats 36 grapes what fraction of the grapes does she eat?
- Bacon's Rebellion?
- M5A1CS
- Express the statement in terms of an inequality involving an absolute value. The difference of two temperatures T1 and T2 within...
- Case Scenario
- Evaluate the expression and write the result in the form a + bi. (−14 + 7i) − (3 + 3i)
- A manufacturer uses a tank to supply water to his machines while they are working. When the machines are on...
- 1. Bouncing into the room, she lit up the vicinity with a joyous glow on her face as she told...
- a 12 month insurence policy was purchased on dec. 1 for $4800 and the prepaid insurence account was initially increased...
- Graph 2/3x+1/6=y