Skip to main content
deleted 6 characters in body
Source Link
George Reith
  • 2.5k
  • 1
  • 14
  • 16

Javascript (ES6) 123117 bytes

Draws it in the console

for(i=0,c=[],s='';i<156;c[i++]=`colori=c=s=[];i<156;c[i++]=`color:${[,'blue','white'][i%3]||'#fff'][i%3]||(s+=`
`,'red')}`)s+='%c'+'+'.repeat(26);console.log(s,...c)

Javascript (ES6) 123 bytes

Draws it in the console

for(i=0,c=[],s='';i<156;c[i++]=`color:${[,'blue','white'][i%3]||(s+=`
`,'red')}`)s+='%c'+'+'.repeat(26);console.log(s,...c)

Javascript (ES6) 117 bytes

Draws it in the console

for(i=c=s=[];i<156;c[i++]=`color:${[,'blue','#fff'][i%3]||(s+=`
`,'red')}`)s+='%c'+'+'.repeat(26);console.log(s,...c)

Shaved off 4 bytes
Source Link
George Reith
  • 2.5k
  • 1
  • 14
  • 16

Javascript (ES6) 127123 bytes

Draws it in the console

for(i=0,c=[],s='';i<156;c[i++]='colors='';i<156;c[i++]=`color:'+(${[,'blue','white'][i%3]||`${s+='\n''white'][i%3]||(s+=`
`,'red')}`))s+='%c'+'+'.repeat(26);console.log(s,...c)

Javascript (ES6) 127 bytes

Draws it in the console

for(i=0,c=[],s='';i<156;c[i++]='color:'+([,'blue','white'][i%3]||`${s+='\n','red'}`))s+='%c'+'+'.repeat(26);console.log(s,...c)

Javascript (ES6) 123 bytes

Draws it in the console

for(i=0,c=[],s='';i<156;c[i++]=`color:${[,'blue','white'][i%3]||(s+=`
`,'red')}`)s+='%c'+'+'.repeat(26);console.log(s,...c)

Shaved a byte off
Source Link
George Reith
  • 2.5k
  • 1
  • 14
  • 16

Javascript (ES6) 128127 bytes

Draws it in the console

for(i=0,c=[],s='';i<156;c[i++]='color:'+(i%3?1-i%3?'white':[,'blue':`$,'white'][i%3]||`${s+='\n','red'}`))s+='%c'+'+'.repeat(26);console.log(s,...c)

Javascript (ES6) 128 bytes

Draws it in the console

for(i=0,c=[],s='';i<156;c[i++]='color:'+(i%3?1-i%3?'white':'blue':`${s+='\n','red'}`))s+='%c'+'+'.repeat(26);console.log(s,...c)

Javascript (ES6) 127 bytes

Draws it in the console

for(i=0,c=[],s='';i<156;c[i++]='color:'+([,'blue','white'][i%3]||`${s+='\n','red'}`))s+='%c'+'+'.repeat(26);console.log(s,...c)

Source Link
George Reith
  • 2.5k
  • 1
  • 14
  • 16
Loading