Name

binary()

Examples
c = color(255, 204, 0)
print(c)             # Prints "-13312"
print(binary(c))     # Prints "11111111111111111100110000000000"
print(binary(c, 16)) # Prints "1100110000000000"
Description
Syntax
binary(value)
binary(value, digits)
Parameters
value
digits
Related unbinary()
hex()
unhex()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License