Color Equates for BBROYGBVGW

  BBROYGBVGW is for Black, Brown, Red, Orange, Yellow, Green, Blue, Violet, Gray and White; the digits and powers of 10 of the Electronic Component Color (ECC) code. Pink, silver and gold for negative powers of 10, the latter 2 also indicate tolerance. It is seen mostly through-hole resistors, but is used on other components.

 Cable of paired wires use different combinations of the same colors to identify upto 25 pairs. Larger cables have groups of 25 pairs wrapped with threads or ribbon of the ring colors. The wires may have stipes or spots of the other color in the pair in case the pairs become untwisted. (Necessary to clean the ends of grease filled cable.)

  I made my own color equates for this because didn't like the shades built into PowerBASIC or W3C specification.


Source Code
Little "Endian" For Windows Coding.
'File BBROYGBVGW_Colors.inc
'Electronic components color code
'equate name,  RGB Hex,   digit, mult,   tol, temp, C WV, C OT, tel
'none          none        none,   nu,   20%,   nu,     ,
%ECC_Pink    = &h0009A6DB& ' nu, 10^-3,   nu,   nu,     ,     , nu
%ECC_Silver  = &h00C0C0C0& ' nu, 10^-2,  10%,   nu,     ,     , nu
%ECC_Gold    = &h0000D7FF& ' nu, 10^-1,   5%,   nu, 1000,     , nu
%ECC_Black   = &h00080808& '  0,  10^0,   nu,  250,     ,   §1, T3
%ECC_Brown   = &h00165AA0& '  1,  10^1,   1%,  100,  100,   nu, R4
%ECC_Red     = &h000000F0& '  2,  10^2,   2%,   50,     ,   §2, T2
%ECC_Orange  = &h0000A8FF& '  3,  10^3, .05%,   15,  300,   nu, R2
%ECC_Yellow  = &h0000F6F6& '  4,  10^4, .02%,   25,     ,   §3, T4
%ECC_Green   = &h0004C004& '  5,  10^5,  .5%,   20,  500,   nu, R3
%ECC_Blue    = &h00F81010& '  6,  10^6,  25%,   10,     ,   §4, R1
%ECC_Violet  = &h008E008E& '  7,  10^7,  .1%,    5,     ,   nu, T5
%ECC_Gray    = &h00787878& '  8,  10^8, .01%,    1,     ,   nu, R5
%ECC_White   = &h00FAFAFA& '  9.  10^9,   nu,   nu,     ,   nu, T1
'equate name - ECC for Electronic Color Code and the color.
  'I put pink, silver and gold at top to make multiplier sequential.
'RBG Hex - red-green-blue, though red is right two due to little endian.
'digit Zero to nine for black to white.
'mult - Multiplier.
  'All apply to resisters.
  'Only 10^0 to 10^7 for capacitors.
'tol - Tolerance. Not all used for capacitors, values the same when they are.
'temp (temperature coefficient) is in ppm/K for resistors.
'C WV - capacitor working voltage. (probably for physically small caps in
       'vacuum tube era.
'C OT - Capacitor Operating Temperature
  '§1: -55 to +70 °C
  '§2: -55 to +85 °C
  '§3: -55 to +125 °C
  '§4: -55 to +150 °C
'tel - Telecomm cable wire pairs. (e.g. telephone and network cables)
  'T is for tip, R is for ring. (refers way back to operator cord switch-
  'boards and tip-ring-sleeve patch board plugs)
  '
'  https://en.wikipedia.org/wiki/Electronic_color_code
'  https://en.wikipedia.org/wiki/Color_code

Full copyleft (ɔ), 2024 by Dale Yarker in source or compiled form. Complete license in new tab or window.


Big "Endian" For HTML And CSS.
(shown as HTML format)
      hex    color  dig   10^x   tol  temp  C WV  C OT tel 
� - Pink    nu, 10^-3,   nu,   nu,     ,     , nu
� - Silver  nu, 10^-2,  10%,   nu,     ,     , nu
� - Gold    nu, 10^-1,   5%,   nu, 1000,     , nu
򀠈 - Black    0,  10^0,   nu,  250,     ,   §1, T3
� - Brown    1,  10^1,   1%,  100,  100,   nu, R4
� - Red      2,  10^2,   2%,   50,     ,   §2, T2
� - Orange   3,  10^3, .05%,   15,  300,   nu, R2
� - Yellow   4,  10^4, .02%,   25,     ,   §3, T4
񌀄 - Green    5,  10^5,  .5%,   20,  500,   nu, R3
􁃸 - Blue     6,  10^6,  25%,   10,     ,   §4, R1
� - Violet   7,  10^7,  .1%,    5,     ,   nu, T5
� - Gray     8,  10^8, .01%,    1,     ,   nu, R5
� - White    9.  10^9,   nu,   nu,     ,   nu, T1
(footnotes as before)

Back Matter

1 https://en.wikipedia.org/wiki/Electronic_color_code
2 https://en.wikipedia.org/wiki/Color_code

Created on 5 May 2024.

To Domain Home.

home
To Dale's Notebook index.
notebook
To Programs index.
programs