Computer Science, asked by ramdaulat9550, 1 year ago

4. Which of the following is a valid colour code?
a. #000000
b. #0000000
c. #00000000
d. #000000000​

Answers

Answered by raj260704
4

Answer:

a) is the valid colour code for black

Answered by kartavyaguptasl
0

Answer:

The correct answer to the given question is found to be option (A) #000000.

Explanation:

Color codes:

  • The HTML color code is a hexadecimal triplet representing the colors red, green, and blue (#RRGGBB). For example, if the color is red, the color code is #FF0000, which is '255' red, '0' green, and '0' blue.
  • There are 16,777,216 possible HTML color codes,  all of which can be displayed on a 24-bit display.
  • These color codes can change the  background, text, and table colors of web pages. You can also refer to the exact color in an image editing program such as Adobe Photoshop.
  • You can also use  color names for these colors. For example, you can use "red" instead of "#FF0000" in HTML tags and CSS that use color codes.

A hexadecimal triplet:

  • A hexadecimal triplet is a 6-digit, 3-byte hexadecimal number used to represent colors in HTML, CSS, SVG, and other computer applications. Bytes represent the red, green, and blue components of a color.

#SPJ2

Similar questions