[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-788341-105":59,"doc-detail-788341-en":129,"doc-similar-788341":159},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":122,"head_meta":124,"extra_data":126,"updated_unix":128},105,"en","l08-css-rgb-colors-reading","L08 - CSS RGB Colors Reading","","RGB colors are encoded through red, green, and blue components, each stored as a byte with values from 0 to 255. The explanation contrasts older 8-bit displays with 24-bit color, describes saturation, and illustrates pure and mixed colors, including gray, black, and white. It connects additive light mixing to human vision and contrasts it with subtractive paint mixing. It also explains CSS rgb() and hexadecimal notation, showing how base-16 values correspond to decimal byte values and why two hexadecimal digits can represent a byte.",{"@graph":69,"@context":121},[70,84,104],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/l08-css-rgb-colors-reading/788341/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":98,"encodingFormat":97,"isAccessibleForFree":99,"interactionStatistic":100},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/l08-css-rgb-colors-reading/788341.png","ImageObject",300,407,{"name":92,"@type":93},"Melati","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-12-05",true,{"@type":101,"interactionType":102,"userInteractionCount":8},"InteractionCounter",{"@type":103},"ViewAction",{"@type":105,"mainEntity":106},"FAQPage",[107,113,117],{"name":108,"@type":109,"acceptedAnswer":110},"How are RGB colors represented?","Question",{"text":111,"@type":112},"An RGB color uses three components in red, green, and blue order. Each component ranges from 0 to 255 and can be stored in one byte.","Answer",{"name":114,"@type":109,"acceptedAnswer":115},"How does additive RGB mixing differ from mixing paint?",{"text":116,"@type":112},"Combining light colors increases brightness, and full saturation of red, green, and blue produces white. Mixing paint is subtractive, so adding colors makes the mixture darker.",{"name":118,"@type":109,"acceptedAnswer":119},"How does hexadecimal notation represent an RGB component?",{"text":120,"@type":112},"Hexadecimal uses base 16, and each byte can be represented by two hex digits ranging from 00 to FF. For example, decimal 204 is CC in hexadecimal.","https://schema.org",{"og:url":83,"og:type":123,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":125,"canonical":83},"index,follow",{"doc_id":127,"site_id":62},788341,1796480817,{"code":4,"msg":5,"data":130},{"doc_id":127,"user_id":131,"nickname":92,"user_avatar":132,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":19,"language":138,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":139,"faqs":140,"seo_title":141,"seo_description":67,"update_tm":128,"read_time":52,"preview_page_count":19,"preview_urls":142},962085570644,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","RGB COLORS  \nIn the early days of the Web, many computers used 8 bit colors. Old computer screens could display at most 256 different colors. As shown in the top of Figure 1, one byte of memory is needed to store 256 different colors. Newer computers use 24-bit Red-Green-Blue (RGB) colors. That's 3 bytes. The first byte can store 256 shades of red, the second byte 256 shades of green, and the third byte 256 shades of blue. That gives almost 17 million different color combinations.  \nFigure 1 – 3 byte RGB color storage in computers  \nThe 256 shades of each color can be represented using standard numbering for a byte - from 0 to 255 . Figure 2 lists a few shades, out of the 256 total. Figure 2 can represent shades of Red, Green, or Blue since each color component is given a byte of memory.  \n\n| | 0 black – no saturation.\u003Cbr>.\u003Cbr>.\u003Cbr>51 dark – low saturation.\u003Cbr>.\u003Cbr>.\u003Cbr>102 medium-dark – medium-low saturation.\u003Cbr>.\u003Cbr>.\u003Cbr>153 medium-bright – medium-high saturation.\u003Cbr>.\u003Cbr>.\u003Cbr>204 bright – high saturation.\u003Cbr>.\u003Cbr>.\u003Cbr>255 brightest – full saturation |\n| --- | --- |\n\nFigure 2 – One byte (0-255) is used for the different shades of a color.  \nThe absence of color is represented by 0 . As the shades move upward from 0 to 255, the color saturation (amount of color) increases. Finally at shade 255, full saturation (brightest possible) is attained. An RGB color has 256 possible shades (levels of saturation) of each of Red, Green, and Blue, and the three color components are always listed in that order. Standard notation for an RGB color is as follows.  \nrgb(255,0,0)  \nThis stands for 255 of Red, 0 of Blue, and 0 of Green. Said in words, that's a full saturation of Red, but no saturation of Blue and Green. That is the brightest possible \"pure red\".  \nFigure 3 lists several RGB values to give you a feel for how this works. The \"pure colors\" only contain saturation of one color. Not all mixed colors are easy to understand, but purple and grey are. Purple shades are made with equal saturations of Red and Blue, but no Green. Different grey shades are made with equal saturations of all three color components. But it can be hard for humans to understand other mixtures of RGB colors without experimenting with a visual color tool as suggested below Figure 3 .  \n\n| Pure Colors |  |  | Mixed Colors |  |\n| --- | --- | --- | --- | --- |\n| Red | Green | Blue | Grey | Purple |\n| rgb(1,0,0)\u003Cbr>rgb(51,0,0)\u003Cbr>rgb(102,0,0)\u003Cbr>rgb(153,0,0)\u003Cbr>rgb(204,0,0)\u003Cbr>rgb(255,0,0) | rgb(0,1,0)\u003Cbr>rgb(0,51,0)\u003Cbr>rgb(0,102,0)\u003Cbr>rgb(0,153,0)\u003Cbr>rgb(0,204,0)\u003Cbr>rgb(0,255,0) | rgb(0,0,1)\u003Cbr>rgb(0,0,51)\u003Cbr>rgb(0,0,102)\u003Cbr>rgb(0,0, 153)\u003Cbr>rgb(0,0,204)\u003Cbr>rgb(0,0,255) | rgb(0,0,0)\u003Cbr>rgb(1,1,1)\u003Cbr>rgb(51,51,51) rgb(102,102,102) rgb(153,153,153) rgb(204,204,204)\u003Cbr>rgb(255,255,255) | rgb(1,0,1)\u003Cbr>rgb(51,0,51)\u003Cbr>rgb(102,0,102)\u003Cbr>rgb(153,0,153)\u003Cbr>rgb(204,0,204)\u003Cbr>rgb(255,0,255) |\n\nFigure 3 – A few easily understood RGB colors, out of almost 17 million total. To visualize this, see the RGB Sliders tool at http://www.cknuckles.com/rgbsliders.html  \nNotice the boldfaced colors at the top and bottom of the Grey column in Figure 3 .  \nrgb(0,0,0) black – absence of color  \nrgb(255,255,255) white – full saturation of all colors  \nThat may surprise you, but you have to think of RGB colors as mixing colors of visible light. The complete absence of light is black. Think of the pure blackness of inter-stellar space where there is no light. On the other hand, think of the light that comes from the sun, which we often call white light. White light contains a full saturation of all colors, which is easily demonstrated when white light passes through a glass prism or when you see a rainbow in the sky.  \nLike visible light, mixing RGB colors is called additive. The more colors you mix together, the brighter the resulting color. Mix full saturations of all colors, and you get white. This is the opposite of what happens when you mix colors of paint, which is called subtractive. Th","cbCaiuNFSya6BB7M","https://ap.wps.com/l/cbCaiuNFSya6BB7M","pdf",210020,"English","# RGB Color Representation\n## Bytes, color depth, and saturation\n## Pure and mixed RGB colors\n# Additive Light and Human Vision\n# RGB and Hexadecimal Notation","[{\"question\":\"How are RGB colors represented?\",\"answer\":\"An RGB color uses three components in red, green, and blue order. Each component ranges from 0 to 255 and can be stored in one byte.\"},{\"question\":\"How does additive RGB mixing differ from mixing paint?\",\"answer\":\"Combining light colors increases brightness, and full saturation of red, green, and blue produces white. Mixing paint is subtractive, so adding colors makes the mixture darker.\"},{\"question\":\"How does hexadecimal notation represent an RGB component?\",\"answer\":\"Hexadecimal uses base 16, and each byte can be represented by two hex digits ranging from 00 to FF. For example, decimal 204 is CC in hexadecimal.\"}]","L08 - CSS RGB Colors Reading | PDF",[143,147,151,155],{"page_no":8,"url":144,"width":145,"height":146},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/6eff0ea37198563ed3650ee9e5438d7f.webp",983,1272,{"page_no":14,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/6c46fd8fd1b92d571e6a332e4a574b88.webp",982,1270,{"page_no":81,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/cd02fe7e900e8a19f02c58384d712ae4.webp",981,1269,{"page_no":19,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/79a06e729201e89a003a58a50e3845d0.webp",980,1268,{"list":160,"token":66},[161,167,174,181,187,193,199,205,211,217],{"doc_id":162,"doc_title":163,"file_type":136,"home_preview_img_url":164,"slug":165,"view_count":81,"category_name":30,"create_tm":166},734513,"HTML color codes - Quick reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230032227404/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=qCJ07j8Ih%2BprIKJCwQ2lt3WuJU4%3D","html-color-codes-quick-reference",1795399629,{"doc_id":168,"doc_title":169,"file_type":136,"home_preview_img_url":170,"slug":171,"view_count":172,"category_name":30,"create_tm":173},179253,"ASCII A4","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876987809/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=BOmeokCwfESALCmsv5gSTC7z%2Fk0%3D","ascii-a4",15,1788336093,{"doc_id":175,"doc_title":176,"file_type":136,"home_preview_img_url":177,"slug":178,"view_count":179,"category_name":30,"create_tm":180},389829,"R color cheatsheet - Color palette and hex color usage guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917135796/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=Pv1l%2FbEqz2tKo2a3%2BiZhEwg9st4%3D","r-color-cheatsheet-color-palette-and-hex-color-usage-guide",22,1790327882,{"doc_id":182,"doc_title":183,"file_type":136,"home_preview_img_url":184,"slug":185,"view_count":8,"category_name":30,"create_tm":186},759744,"Counting in base 10, 2 and 16 - Binary Numbers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044482444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=sb0774OTFrbDZXIalehs9wsGF%2Bg%3D","counting-in-base-10-2-and-16-binary-numbers",1795894281,{"doc_id":188,"doc_title":189,"file_type":136,"home_preview_img_url":190,"slug":191,"view_count":81,"category_name":30,"create_tm":192},734523,"Color Codes Matching Chart - HTML","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230032227768/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=ndzCJkb%2FFM1t0mDxlouZNu8nh4s%3D","color-codes-matching-chart-html",1795399667,{"doc_id":194,"doc_title":195,"file_type":136,"home_preview_img_url":196,"slug":197,"view_count":24,"category_name":30,"create_tm":198},683076,"Binary/Decimal/Hexadecimal/ASCII Character Conversion Chart","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000019315/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=qiNWmQbExVNKEbjNXX4X%2F%2FbphsA%3D","binarydecimalhexadecimalascii-character-conversion-chart",1793995679,{"doc_id":200,"doc_title":201,"file_type":136,"home_preview_img_url":202,"slug":203,"view_count":19,"category_name":30,"create_tm":204},683081,"ASCII Code - Introduction to Data Coding Systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000019324/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=vPD%2B6ZoWhiCQ%2FmOjHQvmQkFLd60%3D","ascii-code-introduction-to-data-coding-systems",1793995691,{"doc_id":206,"doc_title":207,"file_type":136,"home_preview_img_url":208,"slug":209,"view_count":34,"category_name":30,"create_tm":210},689920,"WS2812B RGB LED Strip - User Guide - Arduino","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001464537/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=cLXdE%2Bb9EEssvD3cR9sCbI8gdwA%3D","ws2812b-rgb-led-strip-user-guide-arduino",1794136631,{"doc_id":212,"doc_title":213,"file_type":136,"home_preview_img_url":214,"slug":215,"view_count":29,"category_name":30,"create_tm":216},692628,"PANTONE Coated RGB Color Chart","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230004142573/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=etxuv0sohx%2B0YjLKnBZh%2FZgOcaY%3D","pantone-coated-rgb-color-chart",1794230870,{"doc_id":218,"doc_title":219,"file_type":136,"home_preview_img_url":220,"slug":221,"view_count":24,"category_name":30,"create_tm":222},704708,"Color Tuning with Lutron Controls - Application Note #579 - Revision G","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230014288607/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796575379&Signature=ExIzZk02pSJimZ17AKMB%2BRZVcAg%3D","color-tuning-with-lutron-controls-application-note-579-revision-g",1794620427]