CMPT 165 Lecture 15: Lecture 15

59 views5 pages

Document Summary

Lecture 15: colour gamut is the range of colours we can see, colour depth, number of bits to represent a pixel, 24-bit, 8-bit, store 8 bits per channel x 3 channels = 24 bits. In css we use 24-bit to encode a colour: rgb, each hex level has 16 levels, 16x16 = 256. In decimal you start from zero: 0,1,2,3,4,5,6,7,8,9, whenever you count in, include 0, eg. 4 is the 5th number. Decimal (out of 10) hex (out of 16) 0 7 0 (halfway number since we start at 0) = 007700. 1 0 1 (less light, darker) (10% of 16 - (1

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents