Skip to main content
added 5 characters in body
Source Link
SuperJedi224
  • 12k
  • 1
  • 45
  • 68

Java, 9595 90 bytes

String f(String v){return Stringv.format("#%06x",0xFFFFFF^Integer.parseInt(v.substring(1),16));}

Bitwise XOR.

Java, 95 bytes

String f(String v){return String.format("#%06x",0xFFFFFF^Integer.parseInt(v.substring(1),16));}

Bitwise XOR.

Java, 95 90 bytes

String f(String v){return v.format("#%06x",0xFFFFFF^Integer.parseInt(v.substring(1),16));}

Bitwise XOR.

Source Link
SuperJedi224
  • 12k
  • 1
  • 45
  • 68

Java, 95 bytes

String f(String v){return String.format("#%06x",0xFFFFFF^Integer.parseInt(v.substring(1),16));}

Bitwise XOR.